You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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.
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 eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.