Forums

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

I need to write a script that will restrict ticket adds from going above 2w for Origin.is it feasibl

mummareddy supriya
Contributor
August 30, 2023

i need to  print error message if ticket estimation exceeds more than two weeks .if its possible guide me how to do it .if not why 

1 answer

0 votes
Trudy Claspill
Community Champion
August 30, 2023

Hello @mummareddy supriya 

With native functionality you cannot attach a validator directly to a field such that the validator will be executed whenever the field changes.

Are you working with issues in a Team Managed project or a Company Managed project?

If you have enough permissions you could create an Automation Rule that is triggered when the Original Estimate field is changed, check the value, and take some action if it is more than 2 weeks. One action that you could take is to send an email to somebody. Another action you could take is to add a comment to the issue. If you don't have enough permissions to create Automation Rules you'll have to talk to the Project Administrator or Jira Administrator to get the rule created.

If you have apps that extend workflow capabilities, one of those might provide a function you can use in a Validator in a Workflow transition to check if the Original Estimate exceeds two weeks and prevent completion of the Status change.

Suggest an answer

Log in or Sign up to answer