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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How to I get a property key?

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

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.

Thank you for your help and sorry for the late response

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Announcing Jira Service Management!

Hello there Cloud Community members! Today, we’re thrilled to announce Jira Service Management, the next generation of Jira Service Desk. Jira Service Management touts advancements in IT service ...

2,117 views 25 37
Read article

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