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?
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/
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
It looks like you're new here. Sign in or register to get started.