Forums

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

JQL for find all issues have linked issues which linked issues are assigned to me

Nuwan
Contributor
November 2, 2015

how to write a JQL for find all issues that have linked issues (linked issue type let say "story") and these linked issues are assigned to me.

2 answers

3 votes
SanaS
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 2, 2015

Hi Nuwan,

You need Scriptrunner for this; with it you can use a neat JQL function:

issueFunction in linkedIssuesOf("issuetype = story and assignee = currentUser()")

 

0 votes
Pablo Beltran
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 7, 2015

With SQL for JIRA:

 

issue in sql("
	select *
	from issues i1 inner join issues i2 on i2.id=i1.parentid
	where i1.JQL='issuetype = story and assignee = currentUser()'
")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events