Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Is it a limitation in JQL where i want to search across issue types or lables and status?

Martyn Pope
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Sep 20, 2023

I am trying to pull in a search for Issues type of Story, or Label, with the status of Done.

 

example i am trying to use

issuetype in (Story) OR labels in (Assurance) AND status in (Done)

 

as an add to this can multiples be used in this scenario also 

 

like more than one issuetype, or more than on label. or is this too extreme analytics for Jira queries?

eg

issuetype in (TechDebt, "TechDebt Subtask") OR labels in (tech-debt, tech-debt-to-address, tech-debt-to-withdraw, tech-debt-triage, tech-improvements, tech_debt, techdebt, TECHDEBT, TechDebt) AND status in ("In Progress", "BA in Progress", "Design In progress")

 

Thanks All

1 answer

1 accepted

2 votes
Answer accepted
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 20, 2023

@Martyn Pope

No, that JQL should be fine. I think the only thing you want to watch out for is how you structure your JQL.

In the example you shared above:

"issuetype in (TechDebt, "TechDebt Subtask") OR labels in (tech-debt, tech-debt-to-address, tech-debt-to-withdraw, tech-debt-triage, tech-improvements, tech_debt, techdebt, TECHDEBT, TechDebt) AND status in ("In Progress", "BA in Progress", "Design In progress")"

 

The issue which will be returned are: 

 

  1. Any issue type in TechDebt, TechDebt Subtask
  2. Any issue with one of the labels tech-debt, tech-debt-to-address, tech-debt-to-withdraw, tech-debt-triage, tech-improvements, tech_debt, techdebt, TECHDEBT, TechDebt that is also in the status of "In Progress", "BA in Progress", "Design In progress".

The status condition you have is not being applied to the very first portion of your JQL, so if you want it to, you need to change your JQL like so:

(issuetype in (TechDebt, "TechDebt Subtask") OR labels in (tech-debt, tech-debt-to-address, tech-debt-to-withdraw, tech-debt-triage, tech-improvements, tech_debt, techdebt, TECHDEBT, TechDebt)) AND status in ("In Progress", "BA in Progress", "Design In progress")

Martyn Pope
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Sep 20, 2023

Brilliant thank you so much that has worked a treat!

Like Kian Stack Mumo Systems likes this
Kian Stack Mumo Systems
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 20, 2023

Glad to hear it!

Suggest an answer

Log in or Sign up to answer