Missed Team ’24? Catch up on announcements here.

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

JQL Query for when label was added

Nate Dickinson
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.
November 20, 2023

I'm looking for a query that will track issues based on when a label was added to the labels field. I was using updated, but that's too generic and caught all the information for every ticket that was updated when the sprint changed. Is there a way to do this? This is my current query. 

Project=IGS AND labels = Daily AND updated >= -12h order by created DESC

2 answers

3 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 20, 2023

The short answer is no, you cannot filter based on when the label was added. The workaround would be to have a date/time custom field that is updated when the specific label is added to the issue.

2 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 20, 2023

@Nate Dickinson -

To supplement what @Mikael Sandberg stated (I agreed with his suggestion), another idea is for you to setup an automation rule where the triggering event will be "Field value changed" against the Labels field, the use send mail action so you can be notified.

Although it is not ideal since you will get numerous emails if there going to be a lot of the changes to the labels field.

Hope this may also helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events