Forums

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

How to use Jira API

Perry State
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!
August 9, 2019

The place I work has a Jira and the bottom of the page says 

    v7.12.2

We also have an Enterprise GitHub.  At the bottom of that page it says:

    GitHub Enterprise 2.14.6

When I go to the Jira login page in a browser (Safari) to log in, it presents me with User and Password fields but it also presents me with a "Use GitHub Login".  I poke that button, authenticate with our GitHub (if needed), and then I can access the Jira tickets, etc.

I've been told that that happens via an OAuth2 plugin but... that may or may not be true.

My goal is to be able to use the REST API (via Emacs but that's probably not important) but I can't find any real definitive documentation on how it can be done.  I have found a few Jira discussions or perhaps tickets saying that OAuth2 is not really out yet except in a development release.

Any help, pointers, etc would be helpful including what "Jira" are we running?  I guess there are different flavors?

1 answer

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 9, 2019

Hello, 

If you want to use Jira Rest API, then you can use Basic authentication, you can find more info here:

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

Perry State
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!
August 12, 2019

So I can use both and Jira won't get confused?  I'm not sure I can (at this point) create a password for my id but I can check into it.

Suggest an answer

Log in or Sign up to answer