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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

REST API error

When using JQL with custom fields for searching for issues in Jira Cloud ServiceDesk, REST API responds with error:

"Field 'customfield_xxxxx' does not exist or you do not have permission to view it."

Is there some field configuration that needs to be done for this to work?

 

User has Administrator permissions to perform the search.

1 answer

1 accepted

0 votes
Answer accepted

hi @Arti Pathare 

what endpoint are you using? Can you share details of the HTTP Request?

It is /rest/api/2/search  POST

with jql as: customfield_10041= \"abcd\"

Hi @Arti Pathare I tried to test it and even in UI you have to use name of the field. For example when I have a field Impact of Single select type, I have to use following body in the request

{"jql":"\"Impact[Dropdown]\"=\"Significant / Large\""}

You can check it in your Advanced Issue Search and then to use the prepared query in your HTTP Request.

Like Arti Pathare likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
Community showcase
Asked in Jira Service Desk

Calling all Mindville Insight users, we need your help! (there might be swag involved)

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials and we want to hear from you!  ...

276 views 4 6
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you