Forums

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

How to check that the start date is not greater than the end date

Barrios_ Angelly
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!
March 11, 2025

 

Hello, can someone help me ? 

I have the following automation scheduled that checks the issues created previously and verifies that the due date is not empty and the status is different from "Done", but I also need to verify that the start date is not greater than the end date but it is not possible to compare dates in a jql, what can I do?

 

Captura de pantalla 2025-03-11 104736.png

 

 

 

compare

3 answers

Suggest an answer

Log in or Sign up to answer
1 vote
Pasam Venkateshwarrao
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.
March 12, 2025

Hi @Barrios_ Angelly 

In your existing automation can also add the issue field condition

Screenshot 2025-03-12 at 10.58.06 PM.png

 

Hope this helps

0 votes
Vishal Biyani
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.
March 12, 2025

@Barrios_ Angelly 

Automation has a limitation of not allowing nested branching.

Do you want to compare start date and due date in the email action?

if so, then looping through lookupIssues and checking if Start Date > end Date while creating email body is possible.

Can you clarify on this?

0 votes
Mathew Lederman
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.
March 11, 2025
Barrios_ Angelly
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!
March 11, 2025

Yes, I have tried with smart values ​​and it does not work because jql does not support them.

TAGS
AUG Leaders

Atlassian Community Events