You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Im trying to do a advance compare for todays date specifically and it keeps telling me the condition doesnt match. My end goal is to apply this logic to tell a rule that if the jiradate = 12/25/2022 then dont run.
I'm not quite sure what is it that you want to achieve.
{{now.jiraDate}} yields today's date (now) in the jira format. What you are trying to do is to compare the now date with an expression that returns null ({{now.jiraDate.12/01/2022}}). So what is it that you want to compare? Today's date with a specific date?
Correct, or rather a string of dates...holidays but if I need to compare them individually thats fine. I just cant seem to get it to compare the current date to a set date. I set the others date as today to see if I could get it to work instantly and then from there i could adjust the date as needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then try this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Success. Much appreciated. Is there a way to do multiple dates or can it only be one date at a time?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Multiple dates or multiple ifs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
dates. I think i got it though by putting or between each date on the second value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good to know!
But in case it doesn't work, try using "contains regex" instead of "equals", and as the second values type something like this:
(2022-01-12|2022-01-14)
where all the dates you want to compare are separated by a |
Kindly mark my answer as accepted in order to help other find proper answers!
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.