Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Looking for help on a Script to update due date in JSD using Scriptrunner

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?


1 answer

0 votes


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:


To check for a issue type:

issue.getIssueTypeObject().getName() == 'ISSUETYPENAME'

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? 




Suggest an answer

Log in or Sign up to answer

Atlassian Community Events