Run Automation Manually on All Issues in a Sprint

Ibrahim Ghalghay June 26, 2021

Hello;

I want to trigger an automation rule manually to scan all issues in the active sprint to check its fields values and update them accordingly

I created a manually triggered automation rule , and added For All Issues in the Sprint

I didn't know how and from where I can run it!!!

I tried running it from a subtask or a story within the concerned sprint... but I got this error:

Action details:

This rule was configured with a project restriction.
You can change this restriction in the 'Rule details' section.
Only issues from the following projects or project types will be considered:WAK

Branch rule / related issues

Can't branch rule as it requires a sprint in the context for this option.
More than likely you have a trigger that isn't sprint related.

 

kindly help,

 

best regards;

Ibrahim

2 answers

1 accepted

3 votes
Answer accepted
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.
June 28, 2021

Hi @Ibrahim Ghalghay 

When you want to run a rule on a set of issues, one by one, and do not yet have a triggering event (e.g. sprint completed), you can work-around this by:

  • change your rule trigger to "issue commented" and check for a specific comment value
  • bulk change the issues from advanced search to add the specific comment
  • the rule will run for each issue

Best regards,

Bill

0 votes
Fabian Lim
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, 2021

Hi Ibrahim,

Can you share the filter that is used in the board and also the actual details of your automation rule?

Ibrahim Ghalghay June 27, 2021

Dear @Fabian Lim ,

thanks for your answer

no filter is used in the board, 

and here are two screenshots for the automation rule

Screenshot 2021-06-27 103333.pngScreenshot 2021-06-27 103446.png

Kevin Bui
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 28, 2021

Hi @Ibrahim Ghalghay - For your branch to work, you'll need to use one of the Sprint triggers - either Sprint createdSprint started, or Sprint completed. This is because without a sprint trigger, your Automation rule can't know which sprint to look into.

 

Hope that helps!

Like # people like this
Ibrahim Ghalghay June 28, 2021

Thanks dear @Kevin Bui 

please mention your reply as an answer, so I can accept it as an answer...

 

regards;

Ibrahim Ghalghay August 16, 2021

dear @Kevin Bui 

please mention your reply as an answer, so I can accept it as an answer...

Suggest an answer

Log in or Sign up to answer