Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation For Jira is not working for removing Bulk watchers Edited

Hi Team,

I have requirement to remove a user from watcher list from a bulk of ticket's. Created a automation and selected schedule event then under new rule choose manage watchers and placed user name under remove user field and saved the automation. when i click on run rule it showing rule was success but user still visible on watcher list. can you please help me out how to resolve the issue. Thanks29-07.PNG

 

Automation works if we check "Remove all existing watchers", but not working for a single user.

 

Regards,
Rajesh

2 answers

Hi Rajesh. 

First you need verified who execute the rule, and after you need check the "Permission Scheme". 

Screen Shot 2021-07-29 at 17.17.18.png

without permission may be cannot remove the watchers.

Hi @Claudio Gonzalez  Thanks for info, I felt same but the automation was written on Next-Gen project. Don't know where to check the permission, on access tab i have given admin rights to my email and over automation changed actor as my email then too it is not working.  I think if issue relates to permission then it would have thrown an error but here automation showing as success. Exactly don't know what could be the issue can you please suggest any alternate way to remove user. Thanks 

Hi @Rajesh Konda 

If you open up the issue the rule says it changed and check the history, what does it show about the change?

Best regards,
Bill

Hi @Bill Sheboy  Thanks for the response, Yes i have checked same but no changes are displayed on ticket.   

Interesting... I just checked a company-managed and a team-managed project, and changes to watchers no longer appear in the history.  I am fairly certain this is a change in behavior.  Regardless of that...

I recreated your rule in a team-managed project (next-gen) and it worked for me to delete a specifically named watcher, and leaving the rule actor as Automation for Jira.  I believe changing watchers for team-managed projects requires at least project admin permission.

My JQL for the scheduled rule checked:

project = myProject AND watchers > 0

What JQL are you using, and who is the rule actor?

Suggest an answer

Log in or Sign up to
This widget could not be displayed.
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you