Forums

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

JQL for "Split From" Tasks?

Linz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 6, 2020

In the project "DMWS," I want to see all Tasks that are "Split From" all Stories within the Epic "DMWS-6976"and order by Status (ascending).

The results would look like this:

Screen Shot 2020-08-06 at 5.12.14 PM.png

2 answers

1 vote
Ste Wright
Community Champion
August 6, 2020

Hi @Linz 

To clarify, you want to see:

  • Tasks - which are related via a linked issue type of "split from" to...
  • Stories - which are the children of...
  • An Epic

If this is the case, standard JQL can only search for the first part - there is no parameters for sub-queries.

So searching for the Tasks would be:

issueLinkType = "split from" AND project = DMWS AND issuetype = Task

To take this further and include the sub-query, you'll need more advanced JQL functions through an app - such as Scriptrunner.

Their linked issue functions would allow you to search for the link type and limit the issues to those from stories under the required Epic - for example:

issueFunction in linkedIssuesOf("issuetype = Story AND 'Epic Link' = DMWS-6976", "split from") AND issuetype = Task

 Let us know if this suits your needs!

Ste

0 votes
Greta Yamacheva
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 18, 2022

I have similar questions. 

I would like to find all stories that are in a feature and they are split from this feature. 

 

It should be something like 

project = X and type = Story and issueLinkType = "split from" 

 

But where do I type in the feature's key if we don't have/use the advanced plug-in for the advanced jql methods? 

Ste Wright
Community Champion
October 21, 2022

Hi @Greta Yamacheva 

This should work:

issue in linkedIssues("ABC-1") and issueLinkType = "split from"

^ ABC-1 is your Feature's issue key.

Ste

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events