Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

is there a way to generate API for a service account or team ?

Bingzhi QIAO
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2023

Today as i know we could generate API token  from personal account profile, is there a way to generate a service account API token or a team API token ?  

Thanks 

2 answers

1 accepted

1 vote
Answer accepted
Fabio Racobaldo _Herzum_
Community Champion
March 18, 2023

Hi @Bingzhi QIAO ,

token is for user basis and you cannot generate a token for a team.

Fabio

0 votes
Prince Nyeche
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.
March 18, 2023

There's no feature for a team token and I'm not sure how useful such an implementation would be in the Atlassian context. However, to a service account token, in Atlassian cloud there's no generic user that you can use as a service account that won't cost you a license seat for the purpose of automating certain aspects of Jira. If you want to create a "service account" type of user, it is the same as creating any regular user but using that user for a dedicated purpose. In your scenario, I would suggest

  • Creating a Jira user dedicated to a "service account" function
  • Generate a personal API token for this account which you can use for your API functions

Subsequently, if you have the domain verified within your Atlassian organization it becomes easier because you can perform the steps above but manage the API token of this "service account" user much better by being able to revoke the token at will. Also, when using such a user, do not use a single token for the multiple functions this account will do. Generate an API token for each function or integration you expect this account user to perform and label the token based on the integration/function name e.g. Integration with Zendesk, Jira Issue extraction API, Fetch Users API, Integration with Freshdesk etc

That way you can easily administer this "service account" and manage all aspects of the operation when new requirements arise and if things go wrong.

Suggest an answer

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

Atlassian Community Events