Hi Team,
I am trying to find a Rest API or JQL query which provides me the details of only issues in a project which are having one or more issuelinks in them.
I have tried to search the Rest API from the list of API's given for Jira server (adding the hyperlink below) by Atlassian but I couldn't find any such API.
https://docs.atlassian.com/software/jira/docs/api/REST/8.9.1/
I have tried to hit the following Rest API as well:
https://localhost:8080/rest/api/2/issue/ABCTEST-593?fields=issuelinks
But I am getting list of all the issues in the response.
Can anyone please help me in this.
Thanks & Regards,
Preethi H R
Hi Preethi,
To get a list over all issues that has at least one issue link you could perform the following JQL search: issueLinkType is not EMPTY
If you want to narrow down the results to a specific project, just add the projectname or key to the beginning of your query: project = projectname AND issueLinkType is not EMPTY
Hope you find this helpful!
Hi Jansson,
I have tried executing the above JQL query on my Jira server instance. But I am not able to fetch the issues. I am getting the error on the screen as attached below:
And I have tried the following JQL as well:
project = ONEPLUS AND issueLinkType != Empty
It is also giving the same error.
Can you please guide me on it?
Thanks & Regards,
Preethi H R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.