hi
Can we add watchers in bulk?
Please advise
Thanks
Nazia
Community moderators have prevented the ability to post new answers.
JIRA Command Line Interface has an addWatchers action. That can be used in a script or via runFromSql or runFromCsv to do bulk actions.
Are there any options for OnDemand users? It looks like the plugins and work-arounds for this require self-hosted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
JIRA CLI works with OnDemand.
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.
Yes and that is just an annoying "feature" of Marketplace until they fix it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It would be nice to add an option to the bulk edit to *append* watchers. Duplicate of https://answers.atlassian.com/questions/18488/is-there-a-way-to-add-a-watcher-to-a-set-of-issues-in-batch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nazia, yes we can add multiple watchers at a time using the plugins. For this, you need to get the users from some external source such as property files or something else. You may use the following lines:
{ WatcherManager watcherManager = getWatcherManager(); com.opensymphony.user.User user1 = UserUtils.getUser("username1"); com.opensymphony.user.User user2 = UserUtils.getUser("username2"); if(!watcherManager.isWatching(user2, mutableIssue.getGenericValue())) { watcherManager.startWatching(user2, issue.getGenericValue()); watcherManager.startWatching(user1, issue.getGenericValue()); } }
Where issue is the object of mutable issue.
Regards, Nikhil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.