Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,502
Community Members
 
Community Events
184
Community Groups

Use of the JIRA API Token

Mike Donnan
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!
May 17, 2023

I have developed an Excel sheet which uses the Cloud API to run JQLs. I use the API token code generated from the JIRA website. The authentication in the web call is email.address:token ...  how do I share this Excel sheet with another person for them to use..? Do they have to generate their own code and embed in the API call..?

1 answer

The recommended way would be to make the login credentials configurable and have every user generate their own API token. Please note that depending on the user's permissions and the configured JQL, other users may receive a different number of results (check configured Security Levels, Permission Schemes, etc.).

Another option would be to create a dedicated service account for the Excel sheet and use the API token from that account in the shared Excel sheet. Since the API token allows full access to the user's account, you should take appropriate measures with the service account's permissions to ensure that it only has access to the required resources, e.g. by restricting its edit permissions.

Mike Donnan
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!
May 18, 2023

Thanks Nicolas...  how does this work with Atlassian's licensing model. If you have more "agents" using a service account to perform admin tasks in Jira than you have "agent" licenses..? Also... an agent is defined as someone who can edit or delete comment on issues ... if you are doing this through the API... does it have the capability to capture the "real" user in the issue history rather than the API service account..?

@Mike Donnancorrect, that service account would use an agent license since an agent is defined as someone who has JSM product access. Out of the box there's no way to map actions taken by the service account to the real users.

You could create an internal comment via API on the issue with the action taken and log the username.

Suggest an answer

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

Atlassian Community Events