dose anyone know how to get preferences through api, im not sure what is the 'key' they are requesting to get specific preference
/rest/api/2/mypreferences?key
appriciate your help
Community moderators have prevented the ability to post new answers.
Hi,
could you specify what preferences exactly you are looking for;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
pls submit support request @https://support.atlassian.com
because unable to expand acceptable request representations at https://docs.atlassian.com/jira/REST/latest/#idp1299280
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.
Is there any resolution for this yet? I, too, am trying to use the API and I do not know what the 'key' parameter is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ATM it seems like not working and i have no idea yet. Instead of /rest/api/2/mypreferences?key im using /rest/api/2/user?username&key to get user details. hope this will help you.
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.
See here https://developer.atlassian.com/static/javadoc/jira/6.1/reference/com/atlassian/jira/user/preferences/PreferenceKeys.html. It contains all supported keys.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think, the key you are expected to give is nothing but the preference that you are expecting to get, Like Language, TimeZone. It seems to be like that. So try to give the key as said.Hope this Helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
tried, its not working for me. i have no idea wht value shuld passed into the 'key' parameter . is this working for you?
/rest/api/2/mypreferences?key=timezone
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.