exploring the jira 5 rest api - atlascamp 2011

28

Post on 11-Jan-2015

2.837 views

Category:

Technology


0 download

DESCRIPTION

Rich Manalang, Atlassian Software

TRANSCRIPT

Page 1: Exploring the JIRA 5 REST API - AtlasCamp 2011
Page 2: Exploring the JIRA 5 REST API - AtlasCamp 2011

2

Page 3: Exploring the JIRA 5 REST API - AtlasCamp 2011

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

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

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

$ whoami

4

95 00 05 10

Page 7: Exploring the JIRA 5 REST API - AtlasCamp 2011

5

You’re a polyglot

Page 8: Exploring the JIRA 5 REST API - AtlasCamp 2011

• 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

7

Page 10: Exploring the JIRA 5 REST API - AtlasCamp 2011

8

JIRA 5 REST API

What’s Changed?

Page 11: Exploring the JIRA 5 REST API - AtlasCamp 2011

9

Page 12: Exploring the JIRA 5 REST API - AtlasCamp 2011

10

CRUD Issues

Page 13: Exploring the JIRA 5 REST API - AtlasCamp 2011

Search for issues, get back issues

11

Page 14: Exploring the JIRA 5 REST API - AtlasCamp 2011

• 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

• 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

14

Page 18: Exploring the JIRA 5 REST API - AtlasCamp 2011

• 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

17

Page 20: Exploring the JIRA 5 REST API - AtlasCamp 2011

18

Page 21: Exploring the JIRA 5 REST API - AtlasCamp 2011

19

Page 22: Exploring the JIRA 5 REST API - AtlasCamp 2011

20

Page 23: Exploring the JIRA 5 REST API - AtlasCamp 2011

21

Page 24: Exploring the JIRA 5 REST API - AtlasCamp 2011

22

Page 25: Exploring the JIRA 5 REST API - AtlasCamp 2011

23

+=

Page 26: Exploring the JIRA 5 REST API - AtlasCamp 2011

23

+=

Page 27: Exploring the JIRA 5 REST API - AtlasCamp 2011

• Rich Manalang ([email protected]) / @rmanalan

• Kyle Miller ([email protected])

• @atlassiandev

24

Contacts

Page 28: Exploring the JIRA 5 REST API - AtlasCamp 2011

Thank you!