i am new to Atlassian,
this is OUR url https://zvssdev.atlassian.net
we want to create a Ticket through REST-API from a ruby script.
my manager doesn't know like what kind of Atlassian product he is using neither i am
1) what kind of Atlassian product we are using ?
2) how to enable access to REST API from OUR atlassian cloud ?
3) what is the best way to access REST API in OUR atlassian cloud ?
Thanks in Advance.
dvh638
If you want a simple solution use createIssue from JIRA Command Line Interface (CLI). You can embed the command call in your app.
We don't know what product(s) you are using, but
1) Look at the bottom of the page for the application
2) You don't. It's already enabled
3) Use whatever language you are most comfortable with to make REST calls into the application, as per docs.
If, for example, you're using JIRA, then start at https://docs.atlassian.com/jira/REST/latest/ (there's some links to nice examples and tutorials in the first couple of paragraphs)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nic,
i have gone to url "admin/applications" to find the list of applications. here is that
1) JIRA Software
2) JIRA Service Desk (with JIRA addons Gliffy Diagrams for JIRA Cloud)
3) Confluence (with JIRA addons Gliffy Diagrams for confluence Cloud)
also i have gone through some ruby gems
https://github.com/sumoheavy/jira-ruby
https://github.com/atlassian/omniauth-jira
most of them asking consumer key & token. like these
client = JIRA::Client.new({:consumer_key => CONSUMER_KEY, :consumer_secret => CONSUMER_SECRET})
i don't know like how to create CONSUMER_KEY , CONSUMER_SECRET.
in JIRA API docs says we can use Basic HTTP Auth.
if yes then how can i do it with rails app ?.
my aim is just to create a JIRA ticket/issue from my Rails APP. thats all
Thanks
dvh638
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Consumer keys imply the use of Oath - see https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-oauth-authentication
But if you drop back to basic authentication, that's the most simple way to do it (least secure too)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.