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?
I am using server. it is for service desk
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'
https://scriptrunner.adaptavist.com/latest/jira/recipes/workflow/postfunctions/set-issue-attributes.html#_setting_checkbox_fields
Hi @Gaston Valente
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
It looks like you're new here. Sign in or register to get started.