Using JQL need to calculate the issues (sub-tasks) with "slow" reaction time Edited

Hi all,

Legenda:

Have parent issue with type = Story

Have sub-task wiht type = TestTask

Lifecycle: when Story moved to TESTING tester should start testing as soon as posible (move TestTask from ToDo to In Progress) 

 

What need to calculate:

the number of issues in sprint where the time of starting the testing the story is more than 1d

 

As i understand the request should be somethong like this:

project = 'TEST' and type = TestTask and ([time of transition of parent issue to TESTING] - [time of transition of current issue to IN PROGRESS] > 1d)

Does anyone have idea how to get the values for:

[time of transition of parent issue to TESTING]

[time of transition of current issue to IN PROGRESS]

 

1 answer

0 vote

You won't be able to do this with the default search options in JIRA since you are essentially looking to find issues based on the subtask status.

If you have a plugin like JQL Tricks, you can search issues based on parent or subtask status. Then you can do something like the follwoing:

project = 'TEST' AND status changed to "TESTING" before -1d AND issue in subtask("status = ToDo")

This will get you issues where the status was changed to TESTING before one day but has subtasks still in "ToDo" status. You can expand on this to write more complex queries.

Thank you for your answer.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

139 views 1 17
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you