Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,295
Community Members
 
Community Events
168
Community Groups

How do I find my account ID

Whenever I try to find it via url, I just see /users/viewmyprofile.action instead of the ID. 

1 answer

0 votes
Dave Liao Community Leader May 25, 2021

@Jonathan Wright - hi Jonathan! Click your Profile menu in the upper-right, then select "Profile". In the URL after /people/ is your account ID.

Dave Liao Community Leader May 25, 2021

p.s. of course this is a manual way to check user IDs.

Yea, it doesn't come up in the URL (see description of question)

Dave Liao Community Leader May 25, 2021

Ah, for some reason I thought you were on Jira Cloud!

On on-prem, do what I wrote, but then on that page, click the "Pencil" icon to edit your preferences. In the URL you should see something like:

https://jira.yourcompany.com/secure/UpdateUserPreferences!default.jspa?username=youruserid

pencil.PNG

When I click the pencil, I get 

https://mycompany/users/profile/editmyprofilepicture.action

Dave Liao Community Leader May 25, 2021

The pencil icon is parallel to "Preferences" on the Profile screen. See it?

Hover above it, and you'll see your user ID in its URL

Another way to find your ID?

Hover above your name in Jira - if you've left a comment in an issue, for example, and you'll see a URL with your user ID. Example:

https://jira.yourcompany.com/secure/ViewProfile.jspa?name=youruserid

is it different if you're not the page admin? Because all that I see is : 

 

no pencil.PNG

 

I also don't see the url change when I hover over comments....

Dave Liao Community Leader May 25, 2021

@Jonathan Wright - that Profile page in your screenshot is in Confluence, not Jira...

If you have a personal space, its ID is typically your user ID. Of course, this is assuming your Jira and Confluence directories are in-sync.

Is the userid the same as accountid?

Dave Liao Community Leader Sep 04, 2022

@Sandeep Vaidya - are you on Cloud or on-premise?

What are you looking to do with the ID, once you have it? In Cloud, users have an anonymized ID.

Dave, Thanks very much !!

I believe I am on the cloud:
URL : https://propylon-limited.atlassian.net/jira/people/<accountid>

I saw a post on one of your sites to edit the assignee field, which is what I want to do. In the post, this is the payload for the PUT :

{
   "fields": {
       "assignee":{"name":"harry"}
   }
}

Now,  when I do GET on one of my issues, I don't see a field, 'name' Is it the user id , account id?

other fields I see are: emailAddress, displayName

I tried displayName, I get this error:

{
    "errorMessages": [],
    "errors": {
        "assignee""Field 'assignee' cannot be set. It is not on the appropriate screen or unknown."
    }
}
Dave Liao Community Leader Sep 04, 2022

@Sandeep Vaidya - I recommend asking a new Question in the Jira collection - https://community.atlassian.com/t5/Jira/ct-p/jira - and ask the community what you're looking to accomplish?

By starting a new question, you'll get more attention on it. Good luck!

Suggest an answer

Log in or Sign up to answer