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


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 Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,321 views 5 11
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