Exploring the JIRA 5 REST API - AtlasCamp 2011
-
date post
11-Jan-2015 -
Category
Technology
-
view
2.837 -
download
0
description
Transcript of Exploring the JIRA 5 REST API - AtlasCamp 2011
![Page 1: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/1.jpg)
![Page 2: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/2.jpg)
2
![Page 3: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/3.jpg)
JIRA 5.0 REST API deep dive#jirarest
Rich Manalang (@rmanalan)Developer Advocate, Atlassian
Get Some REST
3
![Page 4: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/4.jpg)
JIRA 5.0 REST API deep dive#jirarest
Rich Manalang (@rmanalan)Developer Advocate, Atlassian
3
![Page 5: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/5.jpg)
JIRA 5.0 REST API deep dive#jirarest
Rich Manalang (@rmanalan)Developer Advocate, Atlassian
3
I NEED SOME REST!
![Page 6: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/6.jpg)
$ whoami
4
95 00 05 10
![Page 7: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/7.jpg)
5
You’re a polyglot
![Page 8: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/8.jpg)
• Transport: HTTP• Data formats: XML, JSON• Patterns: authentication, authorization, UI, algorithms,
etc.• Data exchange/integration: REST, SOAP
6
Common things...
![Page 9: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/9.jpg)
7
![Page 10: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/10.jpg)
8
JIRA 5 REST API
What’s Changed?
![Page 11: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/11.jpg)
9
![Page 12: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/12.jpg)
10
CRUD Issues
![Page 13: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/13.jpg)
Search for issues, get back issues
11
![Page 14: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/14.jpg)
• Filter the fields you get back in a response• Metadata• Add/delete remote issue links
... more
12
![Page 15: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/15.jpg)
• Representations in JSON, JSONP, and XML• Hypermedia inside entities• Versioned URI (/rest/api/2, /rest/api/latest)• HTTP caching support• ActivityStreams API
Other goodies you should know about
13
![Page 16: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/16.jpg)
14
![Page 17: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/17.jpg)
• OAuth 1.0a• Examples: https://bitbucket.org/rmanalan/atlassian-
oauth-examples• Tutorial at https://developer.atlassian.com/display/
JIRADEV/JIRA+REST+API+Example+-+OAuth+authentication
• Basic authentication
Authentication
15
![Page 18: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/18.jpg)
• rest-console for Chrome: http://bit.ly/q7lGic• http-console: https://github.com/cloudhead/http-console• Documentation: https://developer.atlassian.com/
display/JIRADEV/JIRA+REST+API+Tutorials• Interactive REST API documentation coming soon to
developer.atlassian.com!
16
Tools for your toolbox
![Page 19: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/19.jpg)
17
![Page 20: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/20.jpg)
18
![Page 21: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/21.jpg)
19
![Page 22: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/22.jpg)
20
![Page 23: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/23.jpg)
21
![Page 24: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/24.jpg)
22
![Page 25: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/25.jpg)
23
+=
![Page 26: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/26.jpg)
23
+=
![Page 27: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/27.jpg)
• Rich Manalang ([email protected]) / @rmanalan
• Kyle Miller ([email protected])
• @atlassiandev
24
Contacts
![Page 28: Exploring the JIRA 5 REST API - AtlasCamp 2011](https://reader033.fdocument.pub/reader033/viewer/2022051818/54b187f7497959073f8b4567/html5/thumbnails/28.jpg)
Thank you!