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

Need to generate API token for different user

Thivyabrabha Ganesan October 17, 2023

Hi,

In our project, we have integration between JIRA and servicenow through API call using token. Servicenow team is facing the below error for last few days when they tried to send the data to JIRA but they are getting the data properly from JIRA.

Looks like One common userid was created in JIRA for this integration and the API token for the same has been shared to ServiceNow. I don't have the login details for this id to check the token is active or not since this setup was done by some other who is not available in this project rightnow.

Would like to know is there any other way to generate 1 new common id related to old one and generate API token for the same?

HttpStatusCode : 404

ResponseBody : {"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}.


1 answer

2 votes
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2023

You can not create tokens for other users in Jira. So you either need to find out the login details of that user and generate a new token or create a new user and use that one.

We usually create 'service accounts' for API tokens in Jira and keep the credentials in a keystore for the Jira team.

 

Something else to check is if the current user has permissions on all projects ServiceNow is trying to access. That error message does not look like an authentication failure, more like a permission issue on a specif project or issue.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events