Forums

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

Workflow Date Compare Validator

Alejandra Martin
Contributor
July 8, 2025

Hi people. I hope you're Ok.

I need to make that If issue is Approved can be Cancelled only if the date when transition to Cancelled is before to Start Date (or the same a custom field called Fecha de Inicio)

Example.

Issue Fecha de Inicio 08/07/2025

Due Date = 10/07/2025

User can transition issue from Approved to Cancelled until 07/07/2025

I was trying with workflow validator but without results.

Documentation suggest using "now" or "Ahora" in spanish but transitioned shows expression error.

Thanks in advanced!

 

 

2 answers

1 vote
Trudy Claspill
Community Champion
July 8, 2025

Hello @Alejandra Martin 

Please provide a link to the documentation you are referencing.

Also please provide a screen image showing the Validator you created and the expression you used.

Trudy Claspill
Community Champion
July 9, 2025

Hello @Alejandra Martin 

Thank you for the additional information.

What is the exact error you are getting?

Can you provide a screen image showing the error?

Alejandra Martin
Contributor
July 9, 2025

Hi Trudy. I made some changes and transitions with validators work OK. See message. I would like to show message more clear to the user than. How can do it? personalize message showing to user when transition failed?

Thanks!

 

  image.png

 

image.png

Trudy Claspill
Community Champion
July 9, 2025

Hello Alejandra,

With that Validator there is no option to customize the message.

A similar check might be possible with another validator that does support customizing the message. Can you provide a screen image showing the list of Validators available to you?

Alejandra Martin
Contributor
July 9, 2025

Hi Truddy. Thanks for your helpful!!!! I think is not possible define a custom validator not? This is that are available for me.

 

 

image.png

Trudy Claspill
Community Champion
July 9, 2025

The reason I asked for the list of Validators was to see if you might have any non-default validators available based on having third party apps added to your instance. You do not. The list shows only the default Validators available natively from Jira.

Some options you can consider to meet your requirement:

1. Remove the validator. Let the transition. Use an Automation Rule to detect that the transition happened, review the current date compared to your custom field, reverse the transition if the compare is not favorable, and send a custom email to the user to let them know that the transition was reversed.

2. Consider a third party app that will add more options for Validators, finding one that adds a validator that will meet your requirements of doing a date comparison and being able to customize the message displayed.

0 votes
Alejandra Martin
Contributor
July 9, 2025

image.pngimage.png

Suggest an answer

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

Atlassian Community Events