I have done a workflow and now it requires the due date to change at each stage of the workflow step as post functions.



From 'In Progress' it takes 5 days, from 1st September till 5th September. So the Due Date is on the 5th September.

When it enters the 'Resolved', the Due Date will be change to a new value, let's say add another 3 days which will be on the 8th September.


How can it be done?

I'm using ScriptRunner and I have no knowledge on JIRA for scripting Groovy, etc.

Can you guys show me step by step on HOW and WHERE to start to write the scripts and implement it? Better if there is images for me to refer.

I have referred the ScriptRunner site, but it seems I can't and don't understand at all. I'm very new to JIRA.

I appreciate for your guys help. Thanks in advance.

Version: JIRA 5.2

Below is the workflow diagram.


1 answer

1 votes


So I took a look at this answer, and using a script postfuntion like it explains there still works fine.

I'm a little bit worried on your stability though, because you are running a very old JIRA version that is already in EOL, and the free version of SR, which is no longer updated.

If I could recomend you anything, I'd say that you should really upgrade your infrastructure and purchase a SR license, that would be a lot more user friendly.

Please do say if you need anymore help.



Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,980 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot