We create a split from story if jira is not completed in current sprint. New jira which gets moved to next sprint is added. In the original story we add fix version as its a dev story which gets deployed, so i need a query where i can find the split story along with the one which have fix version. if the Jira testing completed in current sprint then we dont split and the one story will get the Fix version.
Hello @Ila Sharma
Welcome to the community.
Your post doesn't say if you are using JIRA Cloud or JIRA Server/DataCenter. I work with JIRA Cloud, so my answer applies to that platform.
If you are using the built in Split functionality, then the original stories and new stories are automatically linked with the Issue Split relationship.
What you effectively need to do is query for the original stories, where Fix Version is set, and then use that result set to query for all stories that are linked to those with a particular link relationship.
JIRA does not natively support very many options for filtering for linked issues. Take a look at this page for the limited functions that are native and available for filtering for linked issues.
The linkedIssues() function lets you filter for issues that are linked to a specific issue, but there is no function to search for the linked issues for multiple issues.
You will need a third party app to build the filter that you want.
In the Marketplace you can find a few different apps that extend the JQL/filtering capabilities.
You will need to review them to find the one that has the functionality you need, that is compatible with your JIRA platform, and that is within your budget.
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events