How do I automatically set the due date on transition?

Trying to set up a workflow so that as it transitions between two statuses it automatically updates the tasks due date. Is this possible without script runner?

2 answers

1 accepted

1 vote
Sam Hall Community Champion Jan 11, 2017

One possible workaround to do this in JIRA Cloud:

  • Raise a support request to ask Atlassian to enable the JIRA Suite Utilities add-on (see
  • This will give you post-functions called Update Issue Custom Field and Copy Value From Other Field.
  • The Update Issue Custom Field post-function doesn't allow update of "Due Date", because it is a system field not a custom field, so...
  • Create a custom field called "Temporary Date" and update that, then use Copy Value From Other Field to copy the value to "Due Date". So you end up post-functions something like the example below:


Information on the Update Issue Custom Field post-function is here, which is where I found to use %%CURRENT_DATETIME%% to set current date. Not sure how flexible it will be regarding setting fixed dates or doing calculations. Probably needs a bit of experimentation to see what is possible

Hope this is useful.


It helps! Thanks!

do you have the "Copy a parsed text to a field" post function. Not sure if it is standard or from an AddOn.

With that you can change the due date within the transition.

Sam Hall Community Champion Jan 11, 2017

I think the "Copy a parsed text to a field" post function comes from the JIRA Workflow Toolbox add-on, which is server only sadly.

Yeah i think either developing my own add-in, or going down the scriptrunner route is the only option. Oh well...

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Fadoua M. Boualem
Published Monday in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

517 views 8 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you