Hi I'm looking to add due date according to Category label fill.
For example - category A = 5 days from the current date in the due date.
This is the script that the Chat provide me but its not working.
Hey Tim,
That looks horrible. I would suggest not using Chat for that.
So in the Due Date field use this: {{issue.duedate.plusBusinessDays(5)}}
Hi, @Tim Shirazi
Agree with @John Funk , it's better to use standard Smart Values.
Code, which you wrote - it's groovy code, used in ScriptRunner. Of course, you can use it for setting duedate, but it's must be made in special Action (and again, using Smart Value is more optimal in your case)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@John Funk thank you for the fast reply!
I tried your advice for {{issue.duedate.plusBusinessDays(5)}}.
its run successfully at the Audit log but unfortunately the due date still empty.
Can you please assist?
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.
Great !!@John Funk
Thank you.
general question, it has to be business days? our company is working 24\7.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.