Forums

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

issueslinks does not work

Leena Pratheepan
Contributor
May 25, 2023

Hello,

I would like to see my dependent task. For example I have: Task 1 blocks Task 2. and the other way around Task 2 is blocked by Task 1. How can I search for issues that are blocked.

Suggestion would be :
project = "PROJ" AND linkedIssues IN ("PROJ-107")

project = "PROJ" AND linkedIssues("PROJ-107")

But JIRA shows me an error message.

How can I solve it?

IssueLinks.PNG IssueLinks_2.PNG

IssueLinks_3.PNG

1 answer

1 accepted

1 vote
Answer accepted
Ditte Simard
Community Champion
May 25, 2023

Do you have scriptrunner installed?  If you do, you can use this function:

issueFunction in linkedIssuesOf("issuekey = blah", "blocks") 

Admittedly I have been using scriptrunner for so long that I don't know any other way to search for linked issues!  Lol

Leena Pratheepan
Contributor
May 25, 2023

No, Problem. Thank you for your comment.

Ditte Simard
Community Champion
May 25, 2023

I dug into this a little further and you should be able to run this function out of the box without Scriptrunner:

"issue in linkedIssues(PROJ-123", blocks)"

Like • Leena Pratheepan likes this
Leena Pratheepan
Contributor
May 25, 2023

Yes, it works, thank you :)

Like • Ditte Simard likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events