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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Validation on UpdatedDate

Hi,

I have a status "Closed" (resolution field: done) and a status "Planned" (resolution field: open). If a card has been placed in the "Closed" status, and after some time has expired, the developer reopens the card by changing the status to "planned", I want the validation to fail the status change IF the issue has been updated more than 30 days ago.

I've tried both the Date Compare Validator and the Date Window Validator options, but I'm definitely doing it wrong and running out of old issues to test. Please assist :)

1 answer

Hi @ruanda_grobler,

Welcome to the community!

I am the product manager at Bob Swift Atlassian Apps (an Appfire company).

Create on Transition for Jira Cloud's Conditioned Validator should be able to help you get this done. You can use the following Jira expression and give an appropriate error message while configuring the validator. 

issue.updated > new Date().minusDays(30)

This will return true if the issue has been updated in the last 30 days, return false if the issue has been updated more than 30 days ago and thereby failing the validation.

Please let me know if you have any questions.

BR,

Nishanth T

Hi Nishanth, I'm assuming I need a plugin for this? Is there any way to do this without a plugin?

Hi @ruanda_grobler 

Thanks for checking. I have reviewed this in validator configuration and it is possible without the plugin too through the following configuration:

Screenshot 2021-02-05 at 12.39.21 PM.png

Hope this helps. Please let me know if you have any questions.

Thanks,

Nishanth T

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,138 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you