How to ignore inactive users without browse project permission set as watcher when automtically closing an issue by the JIRA Automation Plugin

Deleted user July 12, 2016

I am facing this problem for quite a while now:

If an employee leaves the company his account gets deactivated. In some tickets he is still set as watcher.

We close most issues by using the JIRA automation plugin's 'transition issue action'.
If one or more inactive users are set as watcher, the action will end in an error saying:

"Users do not have permission to browse issue: username"
So every time that error occurs I have to manually remove the affected watches.

 

Is there a way to ignore / skip this check or is it just a bug?

Just as an additional note: we have Watcher Custom Field for JIRA installed.

 

Does anyone else face this issue as well?
Any ideas are appreciated.

 

UPDATE:

This seems to happen because of the Watcher Custom FIeld for JIRA.
I created an issue for the developer: https://bitbucket.org/rbarham/jira-watcher-field-plugin/issues/42/inactive-users-set-as-watchers-lead-to

Inactive users are currently not ignored when check Browse Issue permission while transitioning the issue.
The developer will fix this with the next release.

1 answer

1 accepted

1 vote
Answer accepted
Matej K
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 12, 2016

Hi,

I'm not familiar with Watcher Custom Field for JIRA but it looks like there is an issue with the way this plugin interacts with the transition of an issue. Automation plugin only tells JIRA to perform the transition as the 'actor' user (which I assume still exists and is active).

You may try something like https://answers.atlassian.com/questions/146882 and bulk-update the custom watchers field.

Deleted user July 17, 2016

Hi Matej,

thank you for your information. I will have a look.
Moreover, I created an issue in Bitbucket for the Watcher Field Plugin: https://bitbucket.org/rbarham/jira-watcher-field-plugin/issues/42/inactive-users-set-as-watchers-lead-to

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events