Add / Remove Flag when label "Blocked" added / removed

Елена Елена
Contributor
June 26, 2024

Hello community,

 

How can I Add Flag when label "Blocked" added to issue, and vice versa.

 

Thanks

1 answer

1 accepted

2 votes
Answer accepted
Michel Neeser
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 26, 2024

Hi @Елена Елена

Please note that you can set a flag manually on an issue without having to add a label. Perhaps this is sufficient for your use case?

However, if you really want to achieve this with a label, you can add an automation rule like the following:

SCR-20240626-sjfo.png

SCR-20240626-sgak.png

SCR-20240626-sfyn.png

To remove the flag, you have to change the trigger and condition accordingly and set the "Flagged" field to an empty value.

Keep in mind that on the Free plan, you only have 100 rule executions per month.

Hope this helps!

Елена Елена
Contributor
June 27, 2024

@Michel Neeser thank you. when I put label manually - the issue is flagged. But when I want to do it via automation - this rule doesn't work

Michel Neeser
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 27, 2024

@Елена Елена If you want a rule to be triggered by another rule, you have to set this flag in the "Rule details" tab:

SCR-20240628-higw.png

Елена Елена
Contributor
June 28, 2024

@Michel Neeser thank you

But what I did wrong, I can't remove flag when issue is unblocked.

Screenshot 2024-06-28 at 11.19.57.pngScreenshot 2024-06-28 at 11.20.07.pngScreenshot 2024-06-28 at 11.20.16.png

Michel Neeser
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 28, 2024

@Елена Елена The condition in your second screenshot needs to be "contains none of" instead of "contains any of".

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events