Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

Java API or Groovy Script
Status
colourGreen
titleSince Version 2.2.0

It is possible to access profile data through the Jira Java API or with Adaptavist ScriptRunner for Jira. For details please have a look at our Java API Documentation (v 2.3) https://communardo-products.atlassian.net/l/cp/s1rK1aTA .

Alternative Workaround (before version 2.2.0)

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Ā 

Filter by label (Content by label)
showLabelsfalse
max10
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@957
showSpacefalse
sortcreation
typepage
reversetrue
labelsuser-profiles-jira groovy script scriptrunner
cqllabel = "user-profiles-jira" and type = "page" and space = "KB"
Page Properties
hiddentrue

Related issues

Jira Legacy
serverCommunardo JIRA
serverId40ebf4e9-af73-381d-8ee9-1907c74966d1
keySCP-12138