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 vote
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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

256 views 1 18
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