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

JQL query help

Stefannie Tan
Contributor
December 20, 2022

Hi, I want to create a simple jql query for the following scenario:

 

I want to insert a "for prod release" column in our sprint board. I am aware that in order to achieve this, i need to create the corresponding status. i did and set it to resolution of "done" (because it's a step after our definition of done). i'm aware that by doing this, they will disappear once i end the current sprint.

so i want to set up a simple jql query to use as a filter for the sprint board. essentially, i want to be able to view the "for prod release" tickets along with the current active sprint tickets.

my first impulse is just to do a query for tickets with "prod release" status, but that will exclude the current sprint tickets.

 

thanks for any advice you can give.

3 answers

0 votes
Iryna Komarnitska_SaaSJet_
Atlassian Partner
December 21, 2022 edited

Hello @Stefannie Tan ,

 

If you have difficulty understanding JQL queries, I can recommend the Text to JQL gadget that my team recently released. This AI/ML-based solution takes natural language text entered by the user and translates it into an equivalent JQL query.

It's free!

I hope it will help you!

0 votes
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 20, 2022

Hi @Stefannie Tan ,

The Active sprint board will only display tickets which are part of it. You can just create a quick filter and add JQL  status = "for prod release" to it. It will display only tickets which are part of open sprint and in status "for prod release".

https://support.atlassian.com/jira-software-cloud/docs/configure-quick-filters/ 

Stefannie Tan
Contributor
December 20, 2022

@Rilwan Ahmedhi, thank you! i tried it, but it only showed me tickets with that status, and excluded the others. (screenshot below)

without filter:

Screenshot 2022-12-21 at 14.29.31.png

 

after filter:

Screenshot 2022-12-21 at 14.29.55.png

Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 21, 2022

Hi @Stefannie Tan ,

Click Clear all and it will display all tickets irrespective of quick filters created. 

image.png

0 votes
Marta Woźniak-Semeniuk
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 20, 2022

Hey @Stefannie Tan 

Using Advanced search features you can type the following:

 project = MyProjec AND sprint in openSprints ()

to retrieve a list of issues under your current Sprint of project 'MyProject'

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events