Forums

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

Date diff between two date fields in jira

Anuradha Yadav September 9, 2024

I am doing a automation which says as below:

If a target end date is greater than due date, report slippage (adding label)

Please help its urgent

1 answer

1 vote
John Funk
Community Champion
September 10, 2024

Hi Anuradha,

Can you share the rule that you have so far?

Anuradha Yadav September 11, 2024


@John Funk  please help

slippage 3.PNGslippage 2.PNGslippagee.PNG

John Funk
Community Champion
September 12, 2024

Your condition looks too complicated. Why not just compare the two fields? 

Anuradha Yadav September 12, 2024

Yes I need to compare and if its more then 30days then I want label - "MonthlyCommitmentCarryover" can you help? BUT I see I do not have advance compare condition in automation in our Jira. Is there any other way?

John Funk
Community Champion
September 12, 2024

I would do those as separate steps. Create a variable and populate with the value from the diff. Then do your condition for the variable being over that value. 

Anuradha Yadav September 13, 2024

how to create variable? can you please show?

Anuradha Yadav September 17, 2024

@John Funk any update please?

John Funk
Community Champion
September 27, 2024

Suggest an answer

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

Atlassian Community Events