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.

0 votes
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 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,799 views 11 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