Forums

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

How can I prevent a label from being removed from a card?

Dane Salmon August 27, 2021

Hi again,

This time I need help with enforcing the captioned rule, i.e. if a label is removed from a card, such that the card is now bereft of any labels, then that label should be automatically re-added to the card.

Really need help with this one as I am not seeing anywhere I can use the {cardlabelcount} as a check condition for any trigger.

 

Best Regards

1 answer

0 votes
Alex W
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 6, 2021

Hi Dane,

I think the only way you'd be able to do this is to create an individual rule for each label, that applies to all cards with certain criteria (e.g. sit in a certain list), for example:

image-2021-09-07-14-07-47-143.png

Dane Salmon September 7, 2021

Ok, I'll try that.

Thanks.

Alex W
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 8, 2021

No worries Dane, if that works for you, make sure to mark my answer as the accepted answer so other users know this works. 

Dane Salmon September 9, 2021

Well, I tried the approach, and it works partially. The only problem is that it is a bit too general, such that, even when there are multiple labels on the card it is still re-adding the one I removed. I want it to only re-add if it is the ONLY label on the card.

Thank you for the effort though, I believe it is a steer in the right direction.

 

Best Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events