The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi, I'm looking to create a structure to locate random tickets being included in sprints. to find this I want to be able to pull in all tickets where the Epic Link ticket does not contain the label Q2_2022. Please help!
Hello @Lisa ,
David from ALM Works here.
I'm not sure there is a way to do exactly what you describe, though I may just need some additional information. It would be helpful to understand the importance of the Epic Link as it seems the issues linked to Epics have both the Sprint assignment and Labels that we need to build the query needed.
Something like Sprint in (list of sprints) AND labels != Q2_2022
If your goal is to then group these issues by the Epic, you can use a Group Generator to group by the Epic.
If you already have a structure set up that contains all of the issues assigned to a sprint and the goal is to identify the issues with no Q2_2022 label, there are a couple of other options you may want to consider.
The first would be a Quick Transformation. You can set up a filter like labels != Q2_2022.
The second would be a Formula that will mark those issues without the label and provide an aggregate at the Epic level. Something like the formula below is an example.
WITH missing_labels =
IF(labels.ANY($ = "refinement");0;
1):
IF(issuetype != "Epic";missing_labels;
issuetype = "Epic";SUM#children{IF(labels.ANY($ = "refinement");0;
1)})
Please let me know if any of these suggestions helps!
Best,
David
Thanks David,
The issue is that people often leave off a sprint or a fix version. When we plan our quarters we create the epics and label them with that quarter (Q2_2022). Then, all tickets must have an epic. So it is important to be able to find tickets based on their epics.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Something like this:
project = PROJECT AND issuetype = Epic AND labels is not Q2_2022
or
project = PROJECT AND issuetype = Epic AND labels != Q2_2022
I have not tested it, but you can use the filter function in Jira to test the query first.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.