Hello All,
What I’m trying to do is allow the user to specify the epic they want an issue related to during CREATION of an issue. And they’ll specify the Epic Name. I am unable to query issues for issuetype of epic and epic name I’ve tried searching via GET and POST with same result when I’m trying to search by the “Epic Name” (customfield_10003) field.
I can return it, but I cannot search by it. If I leave Epic Name out of the search it works as expected, for example below.
Call: https://testjira.com/rest/api/2/search?jql=project=18300 and issuetype=10001&fields=summary,customfield_10003
Results:
{
"fields": { "summary": "Testing 123",
"customfield_10003": "The Best Test"
}
},
When If I add customfield_10003 (Epic Name)to the JQL:
Call: https://testjira.com/rest/api/2/search?jql=project=18300 and issuetype=10001 and customfield_10003='test jira'&fields=summary,customfield_10003
Results:
"errorMessages":
[
"Field 'customfield_10003' does not exist or you do not have permission to view it."
}
As far as permissions within the project I'm trying to access I am listed as an administrator. So I find it odd that it is returning that message.
Any thoughts on how to get around this?
I could pull all the Epics and then step through, them, but I’d rather query them if I can.