Automation to fetch a list of items and remove a label on them

Gabriel Vargas
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!
October 2, 2024

Hello, I am new to writing Automation rules in Jira,
Although I wrote a couple now,
I am trying to write one in which:

1. I fetch a list of issues based on a JQL filter that matches a specific static label in my product
2. I can remove that said label in each of the items fetched
3. this is part of a bigger flow.

I don't seem able to achieve this, and already searched on forums and other sources haven't been able to find the exact solution that works for my problem.
An example of the flow I have so far, but that is NOT working is in the attached image.

Thanks for your help. 

automation.png

1 answer

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 2, 2024

Hi @Gabriel Vargas -- Welcome to the Atlassian Community!

For automation rule questions, it helps to show your complete rule in a single image, and an image of the audit log details showing the rule execution.  Those will provide context for the community to help better.

From what you show...

To change issues with the edit action, the rule needs an issue "in scope" at that point in the rule.  For your case, please use the branch on JQL rather than using Lookup Issues and then branching only on the data from the lookup.

 

Please note well: branches which could be on more than one thing are run in parallel and asynchronously.  And so the branch is not guaranteed to finish up until the final step of the rule.  That is, the branch does not finish before the steps after the branch start.

You describe this label change as part of a larger scenario.  I recommend showing an image of your entire rule so the community can advise if there will be adjustments needed.

 

Kind regards,
Bill

Suggest an answer

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

Atlassian Community Events