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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published 3 hours ago in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

59 views 4 4
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