The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

JQL get linkedissue timespent for my parent issue

ofir gutmacher
February 8, 2022

Hi community,

In my JIRA I have a issue type called requirement,

and another one called Epic.

I want to create a filter that would retrieve a list of requirements (e.g. issuetype = REQ), but which holds a link called "Is requirement Of", and the destination issue is of type Epic, and the Epic has "Timespent>0"

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
PD Sheehan
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.
February 8, 2022

That seems like a good use case for the linkedIssuesOf jql function.

Try something like

issueType=REQ and issueFunction in linkedIssuesOf("issueType=Epic and timespend>0", "has requirement")

Note that you want the reverse of your "is requirement of" link in the second parameter of the function.