Hi,
I want to exclude the objects whose customfield value is null in the REST API. Find the below details:
https://abc.jira.com/rest/api/2/search?jql=project=CORE+and+fixVersion=4.2.11+and+status=Open&customfield_10090=null
{ "total": 1, "issues": [ { "id": "552524", "self": "https://abc.jira.com/rest/api/2/issue/552524", "key": "CORE-91240", "fields": { "customfield_10090": null } } ] }
Thank you for the help.
Try
https://abc.jira.com/rest/api/2/search?jql=project=CORE+and+fixVersion=4.2.11+and+status=Open+and+customfield_10090+is+not+empty
Br, Niclas
@Niclas Sandström [Riada] Thanks for your help. I tried that, but I am getting the below error:
{ "errorMessages": [ "Field 'customfield_10090' does not exist or you do not have permission to view it." ], "warningMessages": []}
Try to utilize the POST search function.
https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-query-issues
It looks like you're new here. Sign in or register to get started.