Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Status changed date is same as 'Prod Date'

Chakra August 15, 2025

Hi,

Please help me with a query. Want to find how many changes are moved to 'CAB' Status on the same day as 'Prod Date'. 

 

2 answers

3 votes
John Funk
Community Champion
August 15, 2025

Hi Chakra - Welcome to the Atlassian Community!

You are not going to be able to do that with a regular JQL query. Maybe with a ScriptRunner query or by using Automation. What is your intended purpose for using the data? 

Chakra August 15, 2025

Thanks. This is intended to get a report for how many changes were coming on the date of prod. 

John Funk
Community Champion
August 16, 2025

So, can you hardcode the date in the query? Or is it dynamic? 

0 votes
Marc - Devoteam
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.
August 15, 2025

Hi @Chakra 

Welcome to the community.

You can use a JQL as follows:

status CHANGED TO "CAB" and "Prod Date" = "2025-08-15"

Set the date to your required date.

Chakra August 15, 2025

Im looking for all the changes for the year.  

something like - status CHANGED TO "CAB" is equal to 'prod date' where 'prod date' >= "2025-01-01"

 

Marc - Devoteam
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.
August 15, 2025

Hi @Chakra 

This is not possible with JQL.

You could create an automation and lookup issues that match jql 

status CHANGED TO "CAB" and ("Prod Date" >= startOfYear(-1) or "Prod Date" <= startOfYear())

and then sent yourself an email by using the smart values in the body

{{#lookupIssues}}
* {{key}} | {{summary}} | {{Prod Date}}
{{/}}

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer