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

This widget could not be displayed.

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

This widget could not be displayed.
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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

160 views 1 3
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