Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Add a label using Automation, without changing/removing existing labels

Using the Automation add-on, I want to have a rule/action such that on a specific transition, a label gets added to the labels field.

When I set this up using the 'Edit field' action, I found that the new label would be applied, and existing labels would be removed. 

Wondering if there is a different action I can use to add a value to a field without replacing the existing field value?

1 answer

1 accepted

4 votes
Answer accepted

aaaaaand, as so often happens, I've answered my own question.

When you use the Edit Field action, there's a text field for entering the new value.  To the right of that field there's an elipsis overflow menu icon.  Clicking that icon gives you options for adding or removing explicit values from the field, instead of just replacing the field. 

Project automation - JIRA 2020-02-21 09-44-42.png

Thanks for this post. I got caught in this and didn't see the hidden menu.

For the sake of clarity, the top field is for values you want to add to the issue.  If you want to keep the other values intact, you leave the bottom field blank.

Like DevRimantas likes this

What Angelo said!

Same here. I completely missed this, thanks for sharing!

Hello @Alex Bernardin 

Interesting, I thought the field "organization" as a label too, was working like "labels" but there is no such extension (3 dot button) for it. Unfortunately.

@Alex Bernardin Any thoughts as to why Component/s doesn't give me the option to Add/Remove values?  


Suggest an answer

Log in or Sign up to answer

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