How do I use REST API?

I am not a programmer nor a web developer and do not know about REST API.  I simply run our instance of JIRA and need to implement the workaround in https://jira.atlassian.com/browse/JRA-62551,  How do I do this?  Also, I have JIRA version 7.2.6 as a stand alone system.  Is this implementation still valid?  Someone posted at the end of this ticket that this workaround does not exist for version 7.2.4.

2 answers

0 votes
Gaston Valente Community Champion Mar 08, 2017

You can try a chrome extension to consume rest services:

https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop

https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo

with this extension you should be able to perform the update.

you need to send this data

{\"leadUserName\": \"<user_name>\"}

to this url:

http://jiraurl/rest/api/2/component/<component_ID>

There's an easy way to obtain the component id

  1. go to de project admin page, and select Components
  2. Then at the components list, go to edit the component you want to set
  3. looking at the url you can see the id: 

    https://jiraurl/secure/ComponentEdit!default.jspa?componentId=10001

    //10001 in this case

 

 

Thanks for the help!  I had obtained the component id from following the directions in the JIRA ticket I mentioned (your way is easier); however. I am limited to Firefox and IE.  I have pulled up the  URL http://jiraurl/rest/api/2/component/<component_ID>, but I have no idea how to modify it.  

Gaston Valente Community Champion Mar 08, 2017

hi, you can use a similar addon for firefox

https://addons.mozilla.org/es/firefox/addon/restclient/

writing the url on the browser is not going to work, try sending the json data to that url using the firefox addon

I finally managed to get the extension, but it still does not work.  I think that the problem may be with my version of JIRA as someone posted at the dn of th eticket that this did not work for 7.2.4 and I have 7.2.6.  Thanks for your help!

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,104 views 13 19
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