There is some profile data, which I would like to fetch for a large number of users. How can I fetch the data in scripts for several users?
Instructions
Jira API or Groovy Script SINCE VERSION 2.2.0
It is possible to access profile data through the Jira API or with Adaptavist ScriptRunner for Jira. For details please have a look at our Java API Documentation (v 2.3) .
Alternative Workaround (before version 2.2.0)
This is what you can do at the moment:
create a project where each user who you are interested in is, e.g, the assignee of an individual issue (or the reporter or another single user picker field)
add a User Profile custom field to each issue that provides the user profile field of the assignee (or reporter, ...) that you are interested in by following the instructions in our documentation
use your script to fetch the data from that field for each issue/userĀ