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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Date field validation using Jira workflow validator

I am having issue in date field validation using Jira workflow 'Date expression compare' validator. And one strange observation is if I am using '>=' expression for validation against 'now' (todays date) keyword it seems to be working good but if I am using '=' expression for validation against now keyword is not working properly. It is throwing the error even we select today date .

2 answers

0 votes
Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 09, 2023

Hi @Sandesh TM 

Dates fields don't work with "=" that often, as they're captured in the system as date/time.

You need to use multiple validators to get a specific day - eg.

  • Date is >= Start of Day AND
  • Date < End of Day

What's the logic you're trying to validate specifically?

Ste

@Stephen Wright _Elabor8_ 

I need to have a validation that the date field value must be today date only, not any other dates.

Bert van Dijk _TMC_nl_
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.
Oct 09, 2023

Hi @Sandesh TM ,

 

If you use 2 validators like @Stephen Wright _Elabor8_ is telling, you get the answer you are looking for. Both validators must pass, else the transition will fail.

Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 15, 2023

Hi @Sandesh TM 

Just to check - is this a condition, or a validator? And which one are you using?

Ste

0 votes
Bert van Dijk _TMC_nl_
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.
Oct 09, 2023

Hi @Sandesh TM ,

 

May I ask, do you have server/data center or cloud?

For cloud, use the following:

date.png

@Bert van Dijk _TMC_nl_ 

I am also using the same as you using.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events