It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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/

0 votes
Answer accepted

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

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you