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
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.