Date in JSM

Iryna Dumych July 23, 2024

Hello All, 

can you please advise how to make sure that the start date cannot be before the end date in JSM (see an example below). Maybe it is possible to fix it somehow?

Thank you for the support.

 

 

 Date in JSM.png

 

 

3 answers

1 accepted

2 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 23, 2024

Hi @Iryna Dumych , this is not possible unfortunately. You could use Automation to notify someone like the assignee when the error condition occurs.

Iryna Dumych July 23, 2024

it is pity, thanks.

1 vote
Maciej Dudziak _Forgappify_
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.
July 23, 2024

Hi @Iryna Dumych 

You can use transition validators. It is not ideal, because users will be prompted only during transition (also possible in issue Create), but it will force them to fix it in order to continue.

Cheers

Iryna Dumych July 23, 2024

thanks :)

Maciej Dudziak _Forgappify_
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.
July 24, 2024

I will add that if you are in a company-managed project, you can use the Date Compare Validator, which is available out-of-the-box in Jira. It will allow you to compare two dates stored in fields.

In case you need more advanced comparison, for example, to ensure that the end date is greater than the start date plus some standard offset, let say 5 days or you would need a custom validation message, we have created Dates Compare Validator, which is a part of the Workflow Building Blocks for Jira app, which was designed for such cases.

I hope it will help.

Cheers

1 vote
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 23, 2024

Hi @Iryna Dumych 

The only way to restrict this is:

  • Remove them from the edit screen
  • Add them to a transition screen
  • Add a validator so that the user can't add an end date to be before the start date. 
Iryna Dumych July 23, 2024

thanks, we will check it ;)

Suggest an answer

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

Atlassian Community Events