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
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
Posted 14 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

38 views 0 5
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