Hi,
I'm integrating our SAP system to a customers Jira that are using tempo timesheet. In the rest call, we need account id, which can be obtained by calling a rest service. However, I don't have admin access to our customers Jira, hence I'm not able to get the account Id programatically.
Is there somewhere in Jira where our customer can get the account id's for our users?
Before 29th March i.e. this Friday, you can run this API call
/rest/api/3/user/search?startAt=0&maxResults=1000&username=%
which will return a record for each user (up to 1000 users) containing their username and accountId, which you could then store for future lookup - not sure if this is GDPR compliant ;-)
Hi @Warren ,
User search needs user admin access, hence this won't work.
Btw - what happens after 29th of March?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was assuming that you could write something for the customer to run which uses this call and writes the output to a file.
From 29th March, all API calls will only accept accountId and only return accountId - the users e-mail address / username will not appear or be used - there are numerous online articles about the GDPR changes, this should give you a good idea about the changes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the update @Warren
How can you get the account Id with the new api when it’s not possible to query by user or e-mail? Sounds like a catch 22 to me...
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.
They have an example that will let you "Find User" , but their example is for finding assignable users.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.
Register nowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.