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

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

This widget could not be displayed.

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.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

201 views 1 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you