How do external tools set user values through the API?

Mathew Lederman
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.
December 19, 2024

How do external tools (example: Postman) set user-based fields like Reporter, Assignee, Request Participants, Single-user fields, multi-user fields, etc. when the API does not accept email address? How are these other tools expected to know the user ID? I feel like I'm missing something because only accepting user ID doesn't seem functional for 90% of scenarios.

1 answer

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 19, 2024

Hello @Mathew Lederman 

Your process would need to include a call to the API to get the ID for the user based on searching the users for one with the specified email address, and extract the account ID from the response.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search/#api-rest-api-3-user-search-get

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events