• Approval
  • Customer
  • Customer Request
  • Customer Transition
  • Jira Service Management Application
  • Organization
  • Organization Service Desk
  • Portals
  • Queue
  • Queue Settings
  • Request Attachment
  • Request Type
  • Request Type Permissions
  • Service Desk
  • Service Desk Customer
  • application-properties
  • applicationrole
  • attachment
  • avatar
  • cluster
  • comment
  • component
  • configuration
  • customFieldOption
  • customFields
  • dashboard
  • email-templates
  • field
  • filter
  • group
  • groups
  • groupuserpicker
  • index
  • index-snapshot
  • issue
  • issueLinkType
  • issuesecurityschemes
  • issuetype
  • issuetypescheme
  • jql
  • licenseValidator
  • monitoring
  • mypermissions
  • mypreferences
  • myself
  • notificationscheme
  • password
  • permissions
  • permissionscheme
  • priority
  • priorityschemes
  • project
  • projectCategory
  • projects
  • projectvalidate
  • reindex
  • resolution
  • role
  • screens
  • securitylevel
  • serverInfo
  • session
  • settings
  • status
  • statuscategory
  • terminology
  • universal_avatar
  • upgrade
  • user
  • version
  • websudo
  • workflow
  • workflowscheme
  • worklog
  • Assets - AQL
  • Assets - Analytics
  • Assets - Archived Objects
  • Assets - Attachments
  • Assets - Comments
  • Assets - Icons
  • Assets - Index Configuration
  • Assets - Object
  • Assets - Object Archive
  • Assets - Object Attribute
  • Assets - Object Connected Tickets
  • Assets - Object Restore
  • Assets - Object Schema
  • Assets - Object Type
  • Assets - Object Type Attribute
  • Assets - Progress
  • Assets - QR Code
  • Assets - Status Types
Server
Jira Service Management / Reference / REST API

myself

Postman Collection
OpenAPI
GET

Get currently logged userExperimental

Returns currently logged user. This resource cannot be accessed anonymously

Request

This request has no parameters.

Responses

Returns a full representation of a Jira user in JSON format.

application/json

UserBean
GET/api/2/myself
1 2 3 4 curl --request GET \ --url 'http://{baseurl}/rest/api/2/myself' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
PUT

Update currently logged userExperimental

Modify currently logged user. The 'value' fields present will override the existing value. Fields skipped in request will not be changed. Only email and display name can be change that way. Requires user password.

Request

Request bodyapplication/json

The new user details to be set.

active

boolean

applicationKeys

array<string>

displayName

string

emailAddress

string

key

string

name

string

notification

string

password

string

self

string

Responses

Confirmation that the user was updated.

application/json

UserWriteBean
PUT/api/2/myself
1 2 3 4 5 curl --request PUT \ --url 'http://{baseurl}/rest/api/2/myself' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json'
PUT

Update caller passwordExperimental

Modify caller password.

Request

Request bodyapplication/json

The new password to be set.

currentPassword

string

password

string

Responses

Confirmation that the password was changed.

PUT/api/2/myself/password
1 2 3 4 curl --request PUT \ --url 'http://{baseurl}/rest/api/2/myself/password' \ --user 'email@example.com:<api_token>' \ --header 'Content-Type: application/json'