Hello Experts,
When I open my scrum board in web browser and select “Issues->Search for issues” and give the JQL query “type in ("Requirement") AND project = XXX and labels = YYY AND issue in linkedIssues (ZZZ)” in the search bar, I am able to get 1 record. Where ZZZ is a Jira epic.
But if I run the same JQL query using REST API search i am getting the error “{"errorMessages":["Issue ‘ZZZ’ could not be found in function 'linkedIssues'."],"errors":{}}.
I am using the REST API for search given in the below link https://docs.atlassian.com/software/jira/docs/api/REST/9.12.14/#api/2/search
What I figured out was that the part “issue in linkedIssues (ZZZ)” was giving the issue. Because, if I remove that part and run the query using REST API search i am able to get the same records as in web browser. If i only run the query “issue in linkedIssues (ZZZ)” using REST API search i getting the error and hence this is the part causing the error.
Please help me in overcoming the issue.
Thanks and regards,
Sachin B K.
I have the same issue, looking for a resolution as well. Only the REST API call fails, where as the JQL query does return the linkedissues. Is it anything to do with the api version maybe?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.