Forums

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

Jira API integration

todd bastress
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 1, 2021

I am building a service that will integrate with the Jira API, which my company uses.  I am planning to use basic authentication since this is an internal service and I have a Jira account with all the permissions needed.  To use basic I created an Atlassian account to create a token.  I base 64 encoded the user:token and am passing it in the header 'Authorization:Basic [encoded user:token]".

I get response:

"You do not have the permission to see the specified issue.",    "Login Required"

I am guessing the Atlassian account is not tied to the Jira account which has the permissions.  How do I make that connection between the two accounts? 

Thanks in advance.

1 answer

1 accepted

1 vote
Answer accepted
Bastian Stehmann
Community Champion
March 1, 2021

Hi @todd bastress ,

Welcome to the community. 

You will have to use your existing account or you have to grant your new account the permissions that it needs. There is, as far as I know, no way to connect two accounts. 

todd bastress
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 1, 2021

Thank you for the reply.  Turns out that my company is using the server version and not cloud, so I needed to use server API authentication methods.

https://developer.atlassian.com/server/jira/platform/basic-authentication/

Bastian Stehmann
Community Champion
March 1, 2021

You're welcome. 

If you need more help feel free to ask.

Suggest an answer

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

Atlassian Community Events