Hi all,
we want store some information along with our customer/user accounts. (phone numbers, etc..)
I have tried to use the api i can't get it work - maybe someone could help me.
According to the rest documentation (Set User Properties) i have to send the property i want to add like that:
curl -D- -u api:mypass -X PUT -k https://jira.domain.local:8443/rest/api/2/user/properties/phonetest?username=username
this gives me an error: {"errorMessages":["The property value can not be empty."],"errors":{}}
i have tried to add &value=myvalue but that doesn't work...
also the rest documentation do not say how to submit the value for the new property, the only parameter which documented are userkey and username
Hello,
you should provide JSON with your REST call, in which you pass the value:
{"value":"your value"}
Thank You!
That works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
just in case for more detailed examples see: https://community.atlassian.com/t5/Jira-questions/set-user-properties-via-API-Postman-Python/qaq-p/1749565#U1749636
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.