Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,257
Community Members
 
Community Events
165
Community Groups

REST API to find all linked issues

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

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you