REST API to find all linked issues

sunil June 22, 2022

Hi,

Would like to know REST API to find all the linked issues/tickets of an issue in JIRA.

I have an requirement where i need to enable the button completed or rejected to move the ticket/issue to next phase if all linked issues are closed/fixed.

Appreciate if anyone provides the steps or API for above query

 

Thanks,

KSunil

1 answer

0 votes
Dam
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 22, 2022

Hi, 

You can use the Search API in Jira Server and provide the JQL search as param: https://docs.atlassian.com/software/jira/docs/api/REST/8.22.4/#search-searchUsingSearchRequest

To search for linked issue related to an issue in JQL: 

issue in linkedIssues("KEY-1)

Learn more about JQL functions here: https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/

I hope this helps. 


Cheers,
Dam.  

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.22
TAGS
AUG Leaders

Atlassian Community Events