Can I get my account id offline or do I have to work with a link then?

Tzim October 18, 2019

Hello everyone,

I'm currently learning to work with Jira Rest API.  Is there any way that I can get my account id when running on localhost? I want to work with some user data. In the documentation, the account id is used (https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-group-User-properties). And also, how to I get the account id of a user when the URL only mentions their name?

2 answers

2 accepted

0 votes
Answer accepted
Krister Broman _Advania_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2019

Look in the Server Rest documentation instead for your localhost environment, my guess is that one of the three sections below will give you the data you search for. 

https://docs.atlassian.com/software/jira/docs/api/REST/8.4.2/#api/2/myself

https://docs.atlassian.com/software/jira/docs/api/REST/8.4.2/#api/2/user

https://docs.atlassian.com/software/jira/docs/api/REST/8.4.2/#api/2/user/properties

0 votes
Answer accepted
Cristian Rosas [Tecnofor]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 18, 2019

Hi Tzim, you are looking at Jira CLoud REST API, not Jira server:

https://docs.atlassian.com/software/jira/docs/api/REST/8.4.2/

Suggest an answer

Log in or Sign up to answer