You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I am using JIRA cloud instance and have followed instructions in https://confluence.atlassian.com/cloud/update-roles-and-properties-for-jira-users-744721647.html
But, I do not see "Edit Jira properties" when I click on the button to the right of "Login as user", this has been tried for a "Trusted" user and for an "Org & Site admin" user.
Has the feature been removed for JIRA cloud users, this is required for one of the third party apps I use?
Hi @Vishal Vaswani ,
This is a known issue tracked as:
As you can see this bug is currently in progress so you may want to vote for it and set yourself as a watcher to be notified on any progress.
In the meanwhile, you can use the workaround listed in the bug ticket description:
Workarounds
To access the User properties you can use this link:
- https://<host>.atlassian.net/secure/admin/user/EditUserProperties.jspa?accountId=<id>
To access the Project roles you can use this link:
- https://<host>.atlassian.net/secure/admin/roles/ViewUserProjectRoles.jspa?name=<username>
I hope this helps.
Cheers,
Dario
Thanks @Dario B for your reply,
https://<host>.atlassian.net/secure/admin/user/EditUserProperties.jspa?accountId=<id>
does work BUT the property added using this method cannot be retrieved using API call like :
https://<Host>.atlassian.net/rest/api/2/user/properties/<Key-I-Added>?username=<UserName>
as I do not see any method to fetch username, so I tried
https://<Host>.atlassian.net/rest/api/2/user/properties/<Key-I-Added>?accountId=<Account-Id>
and this returns 404
{
errors: { },
errorMessages: [
"The property <Key-I-Added> does not exist."
],
httpStatusCode: {
present: true
}
}
Please suggest a fix. Thanks in advance.
Regards
Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vishal Vaswani ,
This is a common misunderstanding caused by the fact that the User Properties you set from the UI have the same name of the User Properties used by add-ons. We already have a Documentation request open asking to make some clarity on this:
As you can read in there:
The user properties that can be set via the user profile page and the user properties exposed in the JIRA REST API are actually two completely different storage mechanisms, which explains why user properties set from EditUserProperties.jspa are not returned when you call the REST API.
[...]to retrieve user properties using a GET request on /rest/api/2/user/properties, they must be set with a PUT to /rest/api/2/user/properties/{propertyKey}
We absolutely recognize the confusion that having two different sets of user properties can cause, and we intend to rectify this in the future.
Also, the exact same behavior you are facing was reported as a bug:
And, as you can see, it has been closed as "Invalid" with the below explanation:
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.
So, in order to summarize:
I hope this explains.
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe this solve your problem:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.