Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Compare between two date custom fields condition and if true/false thn edit action feild

Kiran Kumar March 18, 2024 edited

Please help

Compare between two date custom fields condition and if true/false thn edit action field.

 

If duedate is greater than enddate

then edit action field should be true

 

If duedate is lesser than enddate

then edit action field should be false

 

If duedate is equal to enddate

then edit action field should be truecondtiondate.png

1 answer

0 votes
Bill Sheboy
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 19, 2024

Hi @Kiran Kumar 

For a question like this please post an image of the complete rule and the audit log details showing the rule execution.  Those will provide context for the community to offer suggestions.

 

Until we see those...

You are trying to compare data value using a text formatted version of the dates.

When doing that, particularly to test for less than / greater than relationships, always order the date components so they align with the testing.  To do this, I recommend using the jiraDate format or "yyyy-MM-dd".

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Date-format---

Otherwise they will not "sort" in the order you expect.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events