Filtering issues by custom field value in JIRA REST API

Jesper Lund Stocholm December 15, 2021

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
David Bakkers
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 15, 2021
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
AUG Leaders

Atlassian Community Events