I'm looking for a simple code to extract users from a Jira group and add to watchers list. Please help!
Hi, the way you can do this is by using JIRA REST API: https://docs.atlassian.com/jira/REST/latest/
To get the users from group use: https://docs.atlassian.com/jira/REST/latest/#d2e1478
To set them as watchers: https://docs.atlassian.com/jira/REST/latest/#d2e4361
If you want to do this from Java (or Groovy) application you could use JIRA Rest Java Client library: https://marketplace.atlassian.com/plugins/com.atlassian.jira.jira-rest-java-client
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.