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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


How to identify using REST API

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:


1 answer

Hello Jasper, 

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.

Kind regards,
Andreas Alexandrou

Hello Andreas,

Thanks for helping.

In this case, I am the user with the access and I created the token. Should what I do then work or am I applying it in the wrong way?

Hello Jasper,

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

The user (that is me) has access

Is the url correct?

The URL is correct, when checked with a API tester I am able to fetch the issue details, even without authentification.

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?

Suggest an answer

Log in or Sign up to answer