exploring the jira 5 rest api - atlascamp 2011
Post on 11-Jan-2015
2.837 views
DESCRIPTION
Rich Manalang, Atlassian SoftwareTRANSCRIPT
2
JIRA 5.0 REST API deep dive#jirarest
Rich Manalang (@rmanalan)Developer Advocate, Atlassian
Get Some REST
3
JIRA 5.0 REST API deep dive#jirarest
Rich Manalang (@rmanalan)Developer Advocate, Atlassian
3
JIRA 5.0 REST API deep dive#jirarest
Rich Manalang (@rmanalan)Developer Advocate, Atlassian
3
I NEED SOME REST!
$ whoami
4
95 00 05 10
5
You’re a polyglot
• Transport: HTTP• Data formats: XML, JSON• Patterns: authentication, authorization, UI, algorithms,
etc.• Data exchange/integration: REST, SOAP
6
Common things...
7
8
JIRA 5 REST API
What’s Changed?
9
10
CRUD Issues
Search for issues, get back issues
11
• Filter the fields you get back in a response• Metadata• Add/delete remote issue links
... more
12
• 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
14
• 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
• 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
17
18
19
20
21
22
23
+=
23
+=
• Rich Manalang ([email protected]) / @rmanalan
• Kyle Miller ([email protected])
• @atlassiandev
24
Contacts
Thank you!