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,364,818
Community Members
 
Community Events
168
Community Groups

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

0 votes
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

Atlassian Community Events