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
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

75 views 0 3
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