Forums

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

How do I avoid PAST DATES entered part of the Change Requests

Rangarajan Parthasarathy July 30, 2018

Is there a way we can ALERT / PROMPT the user if they capture:

1. Change Start Date and Change End Date which is in past? i.e. Change Start / End Date <= today();

2. Change End Date is behind the Change Start Date? i.e Change End Date <= Change Start Date?

Please clarify.

 

1 answer

1 vote
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 7, 2018

Hi Rangarajan,

It's possible to set a validator in the transition on the workflow.
For example, if someone is closing a ticket and the start date is after the end date, it will show a message and they will have to set a start date and the end date (in the future).

You can test and check if it works for you.

Please, open the workflow for Change Requests and select a transition, in the example below I will use the transition "Pending":

Screenshot 2018-08-07_15-55-26.png

Screenshot 2018-08-07_15-55-54.png


Then on the right side, select "Validator" > Add Validator > Date Compare Validator > Add > Date: End date > Condition "<" > Compare with: Start date > Add > Publish workflow.

 

Screenshot 2018-08-07_15-56-17.png

 

Screenshot 2018-08-07_15-56-37.png

Screenshot 2018-08-07_16-01-37.png

 

Screenshot 2018-08-07_15-57-13.png

Hope this helps!

Regards,
Angélica

Suggest an answer

Log in or Sign up to answer