I am looking to set due date automatically based on the issue type. I see there is an option for date and time, would that work?
Ankit,
Are you using cloud or server?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can add a script post function or listener, here you can find some code samples:
To modify the dueDate you need to call:
issue.setDueDate();
To check for a issue type:
issue.getIssueTypeObject().getName() == 'ISSUETYPENAME'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just wanted to confirm that this is the system field I am trying to modify.
I am not very well versed with goovy / programming , could you possible share an example of the script please?
Thanks
Ankit
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.