Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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
Chu Dam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
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