how to access REST API in our custom atlassian cloud

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

2 answers

0 vote

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)


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

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)

If you want a simple solution use createIssue from JIRA Command Line Interface (CLI). You can embed the command call in your app.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,319 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot