Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,191
Community Members
 
Community Events
177
Community Groups

Discrepancy between field names in HTTP GET fields and jql param

I'm having the following field as returned by the 'fields' HTTP GET:

{
"id": "customfield_10500",
"key": "customfield_10500",
"name": "Reviewer",
"custom": true,
"orderable": true,
"navigable": true,
"searchable": true,
"clauseNames": [
"cf[10500]",
"Reviewer"
],
"schema": {
"type": "user",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:userpicker",
"customId": 10500
}
}

 


If I do a 'search' HTTP GET using fields=reviewer I do not get the corresponding field on the answer. If I use the fields=customfield_10500 it does work

If I do a JQL like 'Reviewer = Foo' the search is done correctly. Any other value gives me JQL error string: 

["Field 'customfield_10500' does not exist or you do not have permission to view it."]

 

As you can see there's no way to specify the same field name on the 'jql' or the 'fields' params which leads to problems when introspecting the service and performing searches automatically.

0 comments

Comment

Log in or Sign up to comment