There is some profile data, which I would like to fetch for a large number of users. Since the data is a user profile field, I am not able to fetch the data in Groovy script. How can I fetch the data in scripts for several users?
Instructions
At the moment User Profiles for Jira does not offer a REST or Java API, therefore there is not straightforward way to implement this right now.
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Ā