Find the linked issues

Delphine Renevey November 12, 2013

Hi,

I would like to find all the issues from a specific project, that have a linked issue.

I can't use issue in linkedIssues("") because I don't want to know if there issues linked to a specific ticket, I just want all the issues that have a linked issue.

Do I have to install https://marketplace.atlassian.com/plugins/org.craftforge.jira.craftforge-jql-functions-plugin ?

In that case, what would be the Query?

Thanks for your help :)

Delphine

3 answers

1 accepted

1 vote
Answer accepted
rambabu patina
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 Leaders.
November 12, 2013

Use hasLinks([linkType]) method to get issue has atleast one link for more details see

https://www.j-tricks.com/jqlt-links-functions.html

Thanks,

Patina

rambabu patina
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 Leaders.
November 13, 2013

Please see the plugin in atlassian marketplace. https://marketplace.atlassian.com/plugins/com.j-tricks.jql-plugin

0 votes
Udo Brand
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 Leaders.
November 12, 2013

Hi Delphine,

If you have script runner plugin you can use

issuefunction in linkedissuesof('project=<YourProject>')

Cheers,

Udo

0 votes
Bhushan Nagaraj
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 Leaders.
November 12, 2013

Download version 1.2 from here

https://bitbucket.org/bhushan154/jira-miscellaneous-jql-functions/downloads#download-263929

And use the function

issue in issuesWithLinks(). Just added it haven't tested it yet. Let me know if you have any issues.

Bhushan Nagaraj
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 Leaders.
November 12, 2013

Suggest an answer

Log in or Sign up to answer