I have below requirement:
I have due date field on ticket creation. I want to pop up an error message if due date < current date + 5 days
That message could be on pop up window or on ticket window itself as information.
You just need a "simple scripted validator"...
issue.dueDate >= new Date() + 5
That will show a red message on the ticket when they try to submit.
(Nic - I ignored the popup window aspect... I don't think this needs to be client-side at all).
Thank you for the help and that worked.
I have one more question - if i try to create ticket from service desk
error message is "cannot create ticket" insted of "due date isn't greated than somedate"
any idea how to change that message.
No... I haven't really looked at JSD properly. Seems like they're assuming with JSD that all end-users are too stupid to understand a validation failure message.
You can create a ticket (without service desk) at https://jamieechlin.atlassian.net/browse/GRVand I will look into it.
Groovy doesn't interact with the user like that.
Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...
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