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

1 vote
Accepted answer

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

1 vote
Joseph 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
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,708 views 17 21
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