Set field on transition only if field is empty

We are trying to capture certain transition dates for SLA purposes. I know I can set a custom date field as a post function to a transition. The problem is, if the issues moves back through the same transition more than once, the date field is updated each time, over writing the original value. I only want to capture the first time it transitioned. How do I set up a past function that will set the custom date field ONLY if the field is empty

2 answers

1 accepted

You can set up a conditional post function. Conditional Post Functions are possible with the Workflow Enhancer plugin. Also see its documentation.

1 vote
Joe Pitt Community Champion Oct 24, 2014

A simple way is to create 2 transitions;

1. checks and if the field is empty it will be available and sets the date in a post function

2. checks and if field is not empty it will be available and doesn't touch the date.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

146 views 1 10
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