Hi folks,
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
Many thanks
I think https://library.adaptavist.com/entity/set-the-value-of-date-or-date-time-fields might be able to do what you need.
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.
Cheers,
Gökçe
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.