GET /rest/api/2/mypreferences
Returns the value of a preference of the current user.
Note that these keys are deprecated:
- jira.user.locale The locale of the user. By default this is not set and the user takes the locale of the instance.
- jira.user.timezone The time zone of the user. By default this is not set and the user takes the timezone of the instance.
These system preferences keys will be deprecated by 15/07/2024. You can still retrieve these keys, but it will not have any impact on Notification behaviour.
- user.notifications.watcher Whether the user gets notified when they are watcher.
- user.notifications.assignee Whether the user gets notified when they are assignee.
- user.notifications.reporter Whether the user gets notified when they are reporter.
- user.notifications.mentions Whether the user gets notified when they are mentions.
Use Update a user profile from the user management REST API to manage timezone and locale instead.
Permissions required: Permission to access Jira.
Servers
- https://your-domain.atlassian.net
Query parameters
Name | Type | Required | Description |
---|---|---|---|
key |
String | Yes |
The key of the preference. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.