I am trying to create a token so I can use the JIRA REST api in a script. However, every link I found on Atlassian help site, the link is broken for the sample code to generate the OAuth token.
These two links on this website is broken:
rest-oauth-client-1.0.one-jar.jar
rest-oauth-client-1.0-sources.jar
Is there some other link I can use?
Thanks in advance!!!
Hi Keav,
The updated tutorial for for creating an OAuth client in Java can be found here (link). In short, you'll be building the jar file with resources provided by this Bitbucket repository (link). I went through the steps of the tutorial and confirmed that they are working so this should do the trick!
I've been banging my head on the wall , trying to get anything on same other than those links. while bitbucket integration works fine. For Jira and confluence there is no clear guide. I am struggling to find a way to enable oauth in my atlassion or JIRA account. does anyone know how and where i get an option to do that ?
-saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have been struggling to get the jar files to run. No matter what I do I get maven errors at compile time and it has been extremely frustrating. Is there really no other method to get my access token? I am trying to create an app that any authorized user can use Oauth and call the jira api to grab information about our projects.
Please any help would be greatly appreciated.
-Matt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The nodejs sample is broken too ... I looked at using that and it comes with out a package.json so you basically have to guess which versions of the various packages to use and no the latest versions of express does not work with the sample!
Surely this is a common enough workflow that it should have good documentation and up to date examples that can be copied ... now off to install JDK - to use with the java example!
We used to have a script that would tag our tickets with which version they were fixed in as part of our CI jobs, but this was broken for us by the change from basic auth to oauth - I tried with API keys, but that doesn't seem to work either :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Shaun S or anyone else,
We're trying to read Jira data on a third party website using OAuth, and we're having problems using the Atlassian OAuth Examples.
Do you have any advice for someone trying to setup this connection over from a remote server running cPanel that doesn't have Java enabled?
We tried the NodeJS and PHP examples but they didn't work. The PHP example just gives a 500 error.
Do you have any other advice for how we can read Jira data on a third party website?
Perhaps we need to try a different method than the tutorials given. It seems like they're outdated at this point from 2013.
Any help or guidance would be greatly appreciated!
If you have any questions please let me know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. Im note sure if this might be the right place to ask, but its just so overwheling heavy documentation and many places to start with...
Im too looking for details on the OAuth integration with Jira Cloud+Server REST API.
However, i need that for an external App which any user is able to use to connect with its own Jira instance for interacting with Jira.
All i can read about OAuth, it would require a manual interaction of an Jira *Admin* to create an Consumer Token first, before any further step can be done.
How would that work in real life, when this is an open available app, ready to be used for anyone with any Jira instance. Usually by endusers who do not have Admin privileges within Jira.
So far, i used Basic Auth and/or API Token to enable the user access to his Jira REST API.
But now with OAuth... How?
Is there any documentation, samples, ... on how to fully integrate an external APP seemless with Jira Rest API - *without* the need of a pregenerated Token by any Jira Admin?
BTW: Im talking about the thirs party app: https://github.com/ljay79/jira-tools
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the links Shaun, this is something that I'm just starting to look into doing on our platform.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.