With the https://thehost.atlassian.net/rest/tempo-accounts/1/account rest endpoint you can retrieve all the account. Is it possible to filter accounts by project? Then I can use the account id in the custom field when creating editing issues.
By adding /project/[projectId]/ to the URL, you can get accounts by JIRA project.
For more information about this, see: http://tempo.io/doc/accounts/api/rest/latest/#297254783. Please note that the REST API is subject to change.
Awesome! thank you for your link.
I've just noticed a bug, you may want to report it.
An existing but unlinked account can be set to an issue via rest
JIRA issue create rest is allowing me to set the account field with the id of an unlinked account without any error. Something not possible via UI, leaving in issue in a inconsistent state.
I'm using JIRA cloud.
We have looked into this and confirm this to be a bug. This has been registered to the Tempo Accounts project as a bug. We will add the comment including the fix version upon release, thank you for bringing this to our attention.
Hi Helga, another improvement request. Method /project/[projectId]/ does not return the global accounts so in order to know all the possible accounts for a given project I need to perform 2 rest calls. Could you add a query parameter like includeGlobal=true to the /project/[projectId]/ rest method (default false)?
If you wish us to create a new feature request requesting this function, please let us know and we can create it for you.
If you wish to create the feature request yourself, you can do so via our JIRA.
Tempo product owners review all requests for Tempo products and if the request is within the scope of the roadmap it is transitioned from the Needs Triage status.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs