Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Filtering issues by custom field value in JIRA REST API

I can get a list of issues of type "Epic" with the following endpoint:

https://<myorg>.atlassian.net/rest/api/2/search?jql=issuetype=Epic

How do I construct the jql such that I can get a list of issues where a custom field has a particular value?

I have added a custom field of type "short text" with name "Power PPM Identifier". The internal name of this field is 

 

customfield_10032

If I query the REST API for a particular Epic, I can see the value like this:

 

"customfield_10032""6de4d40d-0ba2-4a8c-bf04-2642d62768f9",
I would have imagined that I could construct the jql like this:
https://<myorg>.atlassian.net/rest/api/2/search?jql=customfield_10032=6de4d40d-0ba2-4a8c-bf04-2642d62768f9
But when I send that to the REST API, I get this error: 
{


    "errorMessages": [

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

    ],

    "warningMessages": []

}
How can I write my jql such that it filters by the value of a custom field?

1 answer

https://<myorg>.atlassian.net/rest/api/2/search?jql="Power PPM Identifier[Short text]" ~ 6de4d40d-0ba2-4a8c-bf04-2642d62768f9

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

138 views 1 2
Read article

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