How to perform Date validation in Jira service management

Sreenadh
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.
October 17, 2022

Hi,

How to perform Date validation in Jira service management

Date validation needs to be performed here so that it will take only future dates.

 

1.PNG

1 answer

1 accepted

1 vote
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 17, 2022

Sreenadh,

Try adding a Validator for the Create transition in the workflow. 

You can also use a Form instead and add some requirements there. 

Sreenadh
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.
October 17, 2022

Hi John,

Thanks for your response kindly provide me in detail because i am new to the Jira Service management.

Thanks,

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 17, 2022

Go to Settings > Issues > Workflows

Then search for the workflow you need to change. Then select edit.

Then click on the line from the initial circle icon in the workflow - this is the Create transition. 

Then click on Validators on the right. Then add the validator to check the date. 

Sreenadh
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.
October 17, 2022

@John FunkSure i did the same but that is going to happen once i submit the request but i want the validation should be performed at the time of filling the form fields before submitting.

Thanks,

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2022

It won't create the issue and will give the user a warning message that the date must be later. 

Sreenadh
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.
October 18, 2022

Okay.

Can you please let me know which step should i need to take for the same.

Please find the attached screenshot for your reference.

Thanks,

3.PNG

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2022

Choose that first one like you have. And then compare the Created Date to the date field you want to check. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events