The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Dave Bosman _Inetum_
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 Champions.
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
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 Champions.
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

Like • Dave Bosman _Inetum_ likes this
Fabien Frances
February 17, 2022

Great!
Many thanks!