Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Trigger automation when field value is initially added

Hi all, I am trying to create an automation rule that only triggers when a field value is added for the first time. I do not want the rule to trigger on any subsequent edits to the field.

For my specific instance I want to trigger the automation rule to trigger when a value is added to the Fix Versions field, so when the field is previously empty and a value is added for the first time. I am aware of the Field value change trigger but this seems to trigger whenever the field value is changed, I am only looking to trigger on initial field value assignment.

Any thoughts on how to do this? 

Thanks.

2 answers

1 vote
John Funk Community Leader Mar 26, 2021

Hi Gregory, 

You could use a custom field to populate a value in the field when the field you want is first changed. We use a custom checklist field called Generic Yes Field. I set the value to Yes when the value is first updated on another field. It's a bit of a workaround but it works.  :-)

@Gregory McShea I don't believe there is a way you can trigger it based off the first time it's given a value.

What you could do is slightly adapt your process, so that you can trigger the rule at a certain point in the issue's flow - e.g. you could keep the same trigger (field value edit) but you could select either the Create issue or Transition Issue operation to trigger the task.

If it was Create, then the rule would trigger only when the Fix Version is given a value when the task is created.

If it was Transition, you could have one particular transition in the workflow which would trigger this rule, and you could have the Fix Version field on the transition screen. Under your trigger in the rule, you could add a condition which says "status is X", which would be the destination status of the transition, so this would be the only situation which triggers the rule

automation trigger.png

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

79 views 2 11
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you