Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is it possible to retrieve custom User Properties via REST API? Edited

Hi All,

I am trying to retrieve custom User Properties that have been set for the users in my Jira app.

I have set an ID with a specific number for each user, as following:

Jira_Problem_Users.png

When trying the GET User Properties via REST API, I cannot find these custom keys and value.

When I get user properties via REST API, I get the following keys, but not my custom ID key.

'gh.boardSettings.2', 'growth-nux', 'jira_home_experiment_opted_in', 'jira.root.homepage', 'navigation_next_ui_state'

I have read in the following link that "This operation does not access the user properties created and maintained in Jira."

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-properties/#api-group-user-properties

And in the following link it explain how to maintain these keys:

https://support.atlassian.com/user-management/docs/update-roles-and-properties-for-jira-users/

 

Is it not possible to automate a process and get this piece of data? How could this be achieved?

Thank you in advance.

Best

1 answer

1 accepted

1 vote
Answer accepted

Hello @xavier_sampietro ,

Thanks for reaching out, and as you were suspecting in your question, the Rest API does not have the endpoint exposed for custom user properties, and this is summed up in a comment on the following Bug report, noting that the bug was closed out as invalid due to changes applied to the system for user management removing the legacy functionality:

- https://jira.atlassian.com/browse/JRACLOUD-59760

Dave Meyer added a comment - 20/Sep/2016 7:18 PM

Hi folks,

There is a free add-on for JIRA Cloud that provides the ability to edit user entity properties, which are accessible via the user entity properties REST API discussed on this issue

We know that one of the most common use cases for user properties is workflow automation. For that reason, add-ons like the new JIRA Misc Workflow Extensions add-on for JIRA Cloud have also implemented their own user interfaces for setting and managing user properties.

The reason we are not planning to expose a REST API for the legacy user preferences/properties that are currently not accessible via REST is that we are making a number of changes to how users are stored in Atlassian Cloud as we roll out Atlassian accounts. Unfortunately, migrating legacy user preferences to the new user entity properties available via REST is not straightforward.

Hope this helps.

Dave Meyer
Senior Product Manager, JIRA

Regards,
Earl

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you