Hello, I am uging Jira and managing it by REST API.
So I need to use accountID to create tickects for my members, but accountID looks like changed it structure and I cannot user account ID with new accountID structure.
Old:
5d1c475294xxf20c43bxx0ef
New:
712020%3A2944f452-xx51-4cfa-a212-36xx0eb23d13
I am usually get accountID by filtering with person in my active scripts or backlog then I can get accountID from URL on browser with assignee query.
Does any one help us?
Resolved Problem:
Old:
5d1c475294xxf20c43bxx0ef
New:
712020%3A2944f452-xx51-4cfa-a212-36xx0eb23d13
This is my misunderstanding, correct New account ID was below:
712020:2944f452-xx51-4cfa-a212-36xx0eb23d13
I got accountID from URL bar in browser so [ : ] is encoded as %3A, that's why REST API was not working.
Hi @Tomoya Watanabe Account ID unique for every user, it never changes.
You can use this API to get all users Account ID : https://xyz.atlassian.net/rest/api/3/users
https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-users/#api-rest-api-2-user-get
Thanks,
V.Y
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks.
I got information from the API with MaxResults query(our workspace has more than 50 users so I need to add maxResults query)
However, I cannot control Jira with account ID because of user id structure has changed.
New accountID structure is below from user API:
712020:d8ce133d-4af8-xxxx-xxxx-1f5b854d84b7
It is obviously changed from old style so I cannot identify how to put this id in request body.
ASCII code encoding( : -> %3A) is not working and aoso native : is not working.
What I want to know is not how to get accountID, how to put new accountID scheme in request body.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Tomoya Watanabe Are you using Project automation to create issues or you are using REST API call for creating issue in jira ?
During issue creation, you need account id for reporter field ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am using REST API, not Project Automation and I want to use account id for assignee field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.