Probably. What are you using to run scripts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- , We are using the scriptrunner plugin addon in jira. Can we accomplish using this addon ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Definitely can do that with Scriptrunner.
Pseudocode would be
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's not something I've ever thought to do before, inactive watchers don't cause problems, so I don't have any code to hand.
Take a look in https://library.adaptavist.com - there's a load of scripts in there, some of which work with watchers and others with (inactive) users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
I have gone through this before, i have look the similar script
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The code in there should show you how to identify inactive users, so the next step would be to decide how you're going to iterate - by issue or user (i.e. do you read a list of issues where watchers is not empty and then check each user in the watchers list, removing them if needed. Or do you read the list of users, then search for issues with each inactive user named?)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.