how can I locate tasks related to stories that are not in the same sprint?

we have stories that are managed by the product team and tasks linked to each story that are managed by R&D.

 

We want a query that will show us when a story was moved to a different sprint and the related tasks were not moved with it.

 

ideally it will be a list like this:

|story id|story sprint | linked task id|task sprint|

1 answer

There are the limitations of JQL. A compare of two fields would be nice in this case.

If I would face this problem, I would query over the API with following pseudo algorithm:

$result = search for all stories that are assigned to one $sprint
for all in $result do {
$children = get all children of $result
for all in $children do {
if ($children->$sprint != $sprint)
echo "found one"
}
}

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,162 views 5 10
Read article

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