Adding automation to add label while updating component value

Jose_ Nimisha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 2, 2024

Hi Community, 

I am working on an automation to auto-update the labels while users add the component. I am creating for both new jiras and also for existing ones. But noticed that, for existing jiras once I update the component, the automation is success as it will add the labels but those will remove any other previously manual updated labels. 

 

Is there any way I can run the automation for existing jiras but keep the current labels even after automation is applied?

 

Thanks

1 answer

1 accepted

3 votes
Answer accepted
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 2, 2024

Hi @Jose_ Nimisha and welcome to the Community!

In general, for questions about automation rules it is useful if you could share screenshots of your full automation rule, as that makes it easier to understand how far you already got in the process.

For this scenario, if you add the labels field in the edit issue action of your rule, you can select the option to ADDREMOVE labels:

Screenshot 2024-12-03 at 07.44.39.png

If you select that option and then add your new labels in the Values to add field and leave the Values to remove field blank, you should be able to achieve what you are after.

Hope this helps!

Jose_ Nimisha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 2, 2024

Leaving the Values to remove field blank helped! Thank you @Walter Buggenhout 

Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 3, 2024

Glad to hear, @Jose_ Nimisha! Do consider accepting my answer, as that makes it easier to find for users with a similar question ☺️ 

Like Jose_ Nimisha likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events