Forums

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

Jira Cloud Automation Manually Triggered not working accordingly

Fabien Frances February 17, 2022

Hello,

I have created a simple automation within a project to clear the watch list of issue type Risk, and then add myself as watcher.

It does work on the issue type risk itself when triggering it, but it does not update the watchlist of all other issue type risks.

So I basically have to trigger it on every risk to clear the watchlist.

My Automation rule is:

  • When: Manually triggered (contains the group I am a member)
  • If: Issue matches JQL is project = "project_name" AND issuetype=Risk
  • Then: Remove watchers
  • And: Add watchers (myself)

So running it from the issue itself is working, however it just clear the watchlist on the current issue and not the other issue type risks.

 

Thanks

Kind regards

1 answer

1 accepted

3 votes
Answer accepted
Dave Bosman [Realdolmen]
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.
February 17, 2022

Hi @Fabien Frances 

You need to add a "branch rule / Related issues" in your automation instead of the "if"

In type of "related issues" you need to select "JQL" and add your JQL in that screen. 

I think that will do the trick. ;)

Regards

Dave

Jack Brickey
Community Champion
February 17, 2022

Yes, as below. Also you likely want to check the box "only include issues that have changed since he last time this rule executed." In the branch rule.

4DC18944-B120-4306-9B12-06B8916F602C.png

Fabien Frances February 17, 2022

Great!
Many thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events