You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm trying to fetch issue data in a jira automation. The issue is in a different project than the trigger issue, hence I need to use the REST API in automation by means of a web request to get the issue data. However, I get the error that I am not authorized to access the issue. How do I do proper authorization?
Now the string after basic is a base64 conversion of my username:password. And I've also tried Jira token. This gives the following error:
I assume you have already generated a token to use for your web request in the automation correct? For this to work, the user with whom you generated the token needs to have the appropriate permissions in the project.
You could create a user dedicated for running automations, generate a token with that user and grant that user permissions to view the issues in the project.
Hope this helps.
If your user does not have access to view tickets from that project then your web request will not be successful. For this to be successful:
1. your user must be granted permissions to view the issues on that project
2. use a different user that already has access to that project to generate a token and use the username and token generated by that user in your automation
I have good news, the above problem is solved. The personal access token was wrong. Apparently you need to create one via your profile --> personal access tokens
However, now how do I use this information in the rest of my automation?
How do I now access for example the Team field of the just fetched issue?