Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a new label to existing labels on issue using automation

Sahoo Manas (SEIT)
Contributor
May 26, 2021

Hello,

I want to add a new label to an issue on certain condition, so I need to read the existing label and then add the new value and then set the new value in jira automation. 

Has anyone of you done such rules and is able to what json i can use to 

1) read the existing labels

2) append the new label I want to set to json

3) set the json as new label for the issue

 

KInd Regards

Manas

 

1 answer

1 accepted

0 votes
Answer accepted
Fazila Ashraf
Community Champion
May 27, 2021

Hi @Sahoo Manas (SEIT) image.png

An automation like this helps?

Sahoo Manas (SEIT)
Contributor
May 27, 2021

Actually this will delete the old labels it may have and just sets the new label, I need to append the label.

Fazila Ashraf
Community Champion
May 27, 2021

ah.. i get that.. 

update it like below with 'Copy from issue'

image.png

Like # people like this

Suggest an answer

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

Atlassian Community Events