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
Community Members
Community Events
Community Groups

Incomprehensible value of user_id/user_key in webhooks

I have several webhooks on Jira Cloud. Each webhook, in additional to parameters, add two of its own: user_id and user_key with understandable values - username


Now i see these parameters contain strange values like:


What is this id? 

I checked it is not accountId


Also strange

Some people who use these webhooks generate normal username, and some people like this ug:29affccb-e7e8-416a-848f-b3cbe38ad527

2 answers


I wonder what the diff is between the 2?

Eg if a user is set to be assigned using the account id 621a81398b8c2f002297ab25 and the error returned is "User 'ug:168f9cdc-ef12-4e74-65b5-c1f85394afdd' cannot be assigned issues"

What is 621a81398b8c2f002297ab25 vs ug:168f9cdc-ef12-4e74-65b5-c1f85394afdd?

Please advise?

Thank you

0 votes
John M Funk Community Leader May 20, 2021

Hi Sergey - that value is indeed the account id for the user. 

Hi John! If it is accound id for the user, why i can't get user info via 




{ "errorMessages": [ "Specified user does not exist or you do not have required permissions" ], "errors": {}}



John M Funk Community Leader May 20, 2021

It might be more of a permission error than a value error 

But i have admin rules :-) 

John M Funk Community Leader May 21, 2021

who is the webhook running as? i.e. what user?

Also, you can verify the accountID by just running a simple filter like

assignee = ug:29affccb-e7e8-416a-848f-b3cbe38ad527

Wow, realy! 

assignee = ug:29affccb-e7e8-416a-848f-b3cbe38ad527 return some tickets with specific user.

But why i can't find this id in user info?  /rest/api/3/user 


I am looking the way to get username by this id: ug:29affccb-e7e8-416a-848f-b3cbe38ad527 

John M Funk Community Leader May 21, 2021

I still think it is a permission thing with how you are using the webhook - can you share the webhook you are using? 

simple webhook: https://{jenkins_url}/buildByToken/buildWithParameters?job=deploy_issue&token={token}&ISSUE=${issue.key}


for some person Jira add additional parameter &user_id=sergey.matveev

for some person add &user_id=ug:29affccb-e7e8-416a-848f-b3cbe38ad527

Hi Sergey,

have you found a solution for this issue? I tried everything, but it's impossible to get accountId from user_id (user_key) using REST API. 

Thank you for any advice.

Suggest an answer

Log in or Sign up to answer
Site Admin
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,853 views 37 48
Read article

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