I'm not familiar with groovy, I have this condition to produce.
I want to autofill due date from created date plus 5 working days (exclude weekend and exclude public holiday which defined on SLA) after or when create ticket.
is this possible? do you guys have any examples for me to start to learn groovy which meet this condition?
Note: I use Jira Service Desk Server and ScriptRunner
Hi @Rika Mandasari ,
You can use SLA Dates feature of the Time to SLA to satisfy this requirement.
You can configure SLa Dates custom field to show the target date of an SLA and with an SLA configuration that suits your needs, this field show the created date plus 5 working dates - exclude weekend and exclude public holiday which defined on SLA.
Define the SLA as:
SLA Start: Date field: Jira field-Created
SLA Duration: 5 days
SLA End: Jira field: Resolved or the resolved status of your workflow
After this just configure SLA Dates custom fields to show the SLA target date and you're done.
Please let me know if you have further questions.
Please note that I'm one of the folks from Snapbytes so there might be other solutions out there and I might not be impartial.
We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan. &nb...
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