Skip to end of banner
Go to start of banner

Fetch user profile data through script

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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:

  1. 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)

  2. 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

  3. use your script to fetch the data from that field for each issue/userĀ 

  • No labels