JIRA Workflow Magic

2,334 views
2,193 views

Published on

Our very own workflow wizard, Jonathan Doklovic, shares some of the latest tricks he's been shoving up his sleeve.

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,334
On SlideShare
0
From Embeds
0
Number of Embeds
892
Actions
Shares
0
Downloads
35
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

JIRA Workflow Magic

  1. 1. Friday, June 15, 12
  2. 2. Workflow Magic or, watch me pull a workflow out of my... bundle? Jonathan Doklovic Developer Relations, AtlassianFriday, June 15, 12
  3. 3. How To Share WorkflowsFriday, June 15, 12
  4. 4. 1. Export XML From JIRAFriday, June 15, 12
  5. 5. 1. Export XML From JIRAFriday, June 15, 12
  6. 6. Friday, June 15, 12
  7. 7. 2. Import Workflow XMLFriday, June 15, 12
  8. 8. 2. Import Workflow XMLFriday, June 15, 12
  9. 9. 2. Import Workflow XMLFriday, June 15, 12
  10. 10. 3. Fix Missing Screens • Find the screen in the OLD JIRA instance • Create a new screen in the NEW JIRA instance • Try to configure the new screen by looking at the old screen • Hunt through workflow xml for any other screens • REPEAT • Update id’s in workflow XML with new screen id’sFriday, June 15, 12
  11. 11. 3. Fix Missing Screens • Find the screen in the OLD JIRA instance • Create a new screen in the NEW JIRA instance • Try to configure the new screen by looking at the old screen • Hunt through workflow xml for any other screens • REPEAT • Update id’s in workflow XML with new screen id’sFriday, June 15, 12
  12. 12. 3. Fix Missing Screens • Find the screen in the OLD JIRA instance • Create a new screen in the NEW JIRA instance • Try to configure the new screen by looking at the old screen • Hunt through workflow xml for any other screens • REPEAT • Update id’s in workflow XML with new screen id’sFriday, June 15, 12
  13. 13. 3. Fix Missing Screens • Find the screen in the OLD JIRA instance • Create a new screen in the NEW JIRA instance • Try to configure the new screen by looking at the old screen • Hunt through workflow xml for any other screens • REPEAT • Update id’s in workflow XML with new screen id’sFriday, June 15, 12
  14. 14. 3. Fix Missing Screens • Find the screen in the OLD JIRA instance • Create a new screen in the NEW JIRA instance • Try to configure the new screen by looking at the old screen • Hunt through workflow xml for any other screens • REPEAT • Update id’s in workflow XML with new screen id’sFriday, June 15, 12
  15. 15. 3. Fix Missing Screens • Find the screen in the OLD JIRA instance • Create a new screen in the NEW JIRA instance • Try to configure the new screen by looking at the old screen • Hunt through workflow xml for any other screens • REPEAT • Update id’s in workflow XML with new screen id’sFriday, June 15, 12
  16. 16. 3. Fix Missing Screens • Find the screen in the OLD JIRA instance • Create a new screen in the NEW JIRA instance • Try to configure the new screen by looking at the old screen • Hunt through workflow xml for any other screens • REPEAT • Update id’s in workflow XML with new screen id’sFriday, June 15, 12
  17. 17. Friday, June 15, 12
  18. 18. 2. 4. Import Workflow XMLFriday, June 15, 12
  19. 19. 2. 4. Import Workflow XMLFriday, June 15, 12
  20. 20. 2. 4. Import Workflow XMLFriday, June 15, 12
  21. 21. Friday, June 15, 12
  22. 22. 5. Test WorkflowFriday, June 15, 12
  23. 23. 5. Test WorkflowFriday, June 15, 12
  24. 24. 6. Fix Missing Plugins • Inspect ALL Conditions/Validators/Functions • Keep track of which ones just have class names • Try to figure out which plugins are needed based on classnames (google?) • Install all of the plugins • REPEAT This could take hours!Friday, June 15, 12
  25. 25. 6. Fix Missing Plugins • Inspect ALL Conditions/Validators/Functions • Keep track of which ones just have class names • Try to figure out which plugins are needed based on classnames (google?) • Install all of the plugins • REPEAT This could take hours!Friday, June 15, 12
  26. 26. 6. Fix Missing Plugins • Inspect ALL Conditions/Validators/Functions • Keep track of which ones just have class names • Try to figure out which plugins are needed based on classnames (google?) • Install all of the plugins • REPEAT This could take hours!Friday, June 15, 12
  27. 27. 6. Fix Missing Plugins • Inspect ALL Conditions/Validators/Functions • Keep track of which ones just have class names • Try to figure out which plugins are needed based on classnames (google?) • Install all of the plugins • REPEAT This could take hours!Friday, June 15, 12
  28. 28. 6. Fix Missing Plugins • Inspect ALL Conditions/Validators/Functions • Keep track of which ones just have class names • Try to figure out which plugins are needed based on classnames (google?) • Install all of the plugins • REPEAT This could take hours!Friday, June 15, 12
  29. 29. 6. Fix Missing Plugins • Inspect ALL Conditions/Validators/Functions • Keep track of which ones just have class names • Try to figure out which plugins are needed based on classnames (google?) • Install all of the plugins • REPEAT This could take hours!Friday, June 15, 12
  30. 30. 6. Fix Missing Plugins • Inspect ALL Conditions/Validators/Functions • Keep track of which ones just have class names • Try to figure out which plugins are needed based on classnames (google?) • Install all of the plugins • REPEAT This could take hours!Friday, June 15, 12
  31. 31. Friday, June 15, 12
  32. 32. 7. Fix Missing Custom Fields • Look through XML for custom field id’s • Dig through the OLD JIRA instance for a few hours • Try to figure out which plugins are needed • Install all of the plugins and create the custom fields • Update the workflow.xml with new id’s • DELETE THE IMPORTED WORKFLOW AND START AGAIN!Friday, June 15, 12
  33. 33. 7. Fix Missing Custom Fields • Look through XML for custom field id’s • Dig through the OLD JIRA instance for a few hours • Try to figure out which plugins are needed • Install all of the plugins and create the custom fields • Update the workflow.xml with new id’s • DELETE THE IMPORTED WORKFLOW AND START AGAIN!Friday, June 15, 12
  34. 34. 7. Fix Missing Custom Fields • Look through XML for custom field id’s • Dig through the OLD JIRA instance for a few hours • Try to figure out which plugins are needed • Install all of the plugins and create the custom fields • Update the workflow.xml with new id’s • DELETE THE IMPORTED WORKFLOW AND START AGAIN!Friday, June 15, 12
  35. 35. 7. Fix Missing Custom Fields • Look through XML for custom field id’s • Dig through the OLD JIRA instance for a few hours • Try to figure out which plugins are needed • Install all of the plugins and create the custom fields • Update the workflow.xml with new id’s • DELETE THE IMPORTED WORKFLOW AND START AGAIN!Friday, June 15, 12
  36. 36. 7. Fix Missing Custom Fields • Look through XML for custom field id’s • Dig through the OLD JIRA instance for a few hours • Try to figure out which plugins are needed • Install all of the plugins and create the custom fields • Update the workflow.xml with new id’s • DELETE THE IMPORTED WORKFLOW AND START AGAIN!Friday, June 15, 12
  37. 37. 7. Fix Missing Custom Fields • Look through XML for custom field id’s • Dig through the OLD JIRA instance for a few hours • Try to figure out which plugins are needed • Install all of the plugins and create the custom fields • Update the workflow.xml with new id’s • DELETE THE IMPORTED WORKFLOW AND START AGAIN!Friday, June 15, 12
  38. 38. 7. Fix Missing Custom Fields • Look through XML for custom field id’s • Dig through the OLD JIRA instance for a few hours • Try to figure out which plugins are needed • Install all of the plugins and create the custom fields • Update the workflow.xml with new id’s • DELETE THE IMPORTED WORKFLOW AND START AGAIN!Friday, June 15, 12
  39. 39. Friday, June 15, 12
  40. 40. Goal #1: Export a bundle with EVERYTHING Goal #2: Imports should just work There’s Got manual setup required Way Goal #3: Little to no To Be A Better Goal #4: Workflow bundles “shareable” on MarketplaceFriday, June 15, 12
  41. 41. There’s Got To Be A Better Way Goal #1: Export a bundle with EVERYTHING Goal #2: Imports should just work Goal #3: Little to no manual setup required Goal #4: Workflow bundles “shareable” on MarketplaceFriday, June 15, 12
  42. 42. There’s Got To Be A Better Way Goal #1: Export a bundle with EVERYTHING Goal #2: Imports should just work Goal #3: Little to no manual setup required Goal #4: Workflow bundles “shareable” on MarketplaceFriday, June 15, 12
  43. 43. There’s Got To Be A Better Way Goal #1: Export a bundle with EVERYTHING Goal #2: Imports should just work Goal #3: Little to no manual setup required Goal #4: Workflow bundles “shareable” on MarketplaceFriday, June 15, 12
  44. 44. There’s Got To Be A Better Way Goal #1: Export a bundle with EVERYTHING Goal #2: Imports should just work Goal #3: Little to no manual setup required Goal #4: Workflow bundles “shareable” on MarketplaceFriday, June 15, 12
  45. 45. Friday, June 15, 12
  46. 46. Friday, June 15, 12
  47. 47. WTF Just Happened? • Exported workflow as a zip file • Accepted required plugins to be exported • Added notes for importer in Markdown formatFriday, June 15, 12
  48. 48. WTF Just Happened? • Imported workflow zip in a fresh JIRA instance • Mapped/Created required JIRA statuses • Approved plugins to be installed • Viewed summary for sanity check • Imported workflow (+ plugins, screens, custom fields) • Reviewed import report • Double checked workflow in the workflow designerFriday, June 15, 12
  49. 49. Sharing Workflow Bundles • Upload to Marketplace • Add to “Workflow Bundles” category • Mark as NOT deployableFriday, June 15, 12
  50. 50. Friday, June 15, 12
  51. 51. Friday, June 15, 12
  52. 52. Friday, June 15, 12
  53. 53. Friday, June 15, 12
  54. 54. Friday, June 15, 12
  55. 55. Friday, June 15, 12
  56. 56. Friday, June 15, 12
  57. 57. 14+ Workflow Bundles In Marketplace RIGHT NOW!Friday, June 15, 12
  58. 58. JIRA Workflow Sharing Plugin (beta) http://marketplace.atlassian.com http://atlss.in/workflow-sharing or search in Universal Plugin ManagerFriday, June 15, 12
  59. 59. Thank you!Friday, June 15, 12

×