Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to I get a property key?

Tzim October 18, 2019

I read through some of the documentation trying to figure out how to get the property key to finally be able to change the properties of my user with PHP. The problem is that I don't even konw how to get to the properties in the first place. To read my data I use the JSON that I get from this link: http://localhost:8080/rest/api/2/user?username=testUser

1 answer

1 accepted

1 vote
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 22, 2019

Hello @Tzim

Thank you for reaching out.

The REST API calls to get or set user properties will depend on which version of JIRA you are currently using.

If you are using the latest version (8.4), you can use the Calls below:

To GET User properties: 

GET http://localhost:8080/rest/api/2/user/properties

To Set User properties:

PUT http://localhost:8080/rest/api/2/user/properties/{propertyKey}

If you are using a different JIRA version, please check the documentation below replacing the 8.4.0 in the URL by the version of your JIRA application:

GET and SET User priorities - JIRA REST API 

Let me know if this information helps.

Tzim February 4, 2020

Thank you for your help and sorry for the late response

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events