jira workflow magic

Post on 07-Nov-2014

2.080 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

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

TRANSCRIPT

Friday, June 15, 12

Developer Relations, AtlassianJonathan Doklovic

or, watch me pull a workflow out of my... bundle?

Workflow Magic

Friday, June 15, 12

How To Share Workflows

Friday, June 15, 12

1. Export XML From JIRA

Friday, June 15, 12

1. Export XML From JIRA

Friday, June 15, 12

Friday, June 15, 12

2. Import Workflow XML

Friday, June 15, 12

2. Import Workflow XML

Friday, June 15, 12

2. Import Workflow XML

Friday, June 15, 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

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

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

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

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

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

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

Friday, June 15, 12

2. 4. Import Workflow XML

Friday, June 15, 12

2. 4. Import Workflow XML

Friday, June 15, 12

2. 4. Import Workflow XML

Friday, June 15, 12

Friday, June 15, 12

5. Test Workflow

Friday, June 15, 12

5. Test Workflow

Friday, June 15, 12

6. Fix Missing Plugins

This could take hours!

• 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

Friday, June 15, 12

6. Fix Missing Plugins

This could take hours!

• 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

Friday, June 15, 12

6. Fix Missing Plugins

This could take hours!

• 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

Friday, June 15, 12

6. Fix Missing Plugins

This could take hours!

• 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

Friday, June 15, 12

6. Fix Missing Plugins

This could take hours!

• 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

Friday, June 15, 12

6. Fix Missing Plugins

This could take hours!

• 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

Friday, June 15, 12

6. Fix Missing Plugins

This could take hours!

• 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

Friday, June 15, 12

Friday, June 15, 12

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

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

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

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

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

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

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

Friday, June 15, 12

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 Marketplace

Friday, June 15, 12

There’s Got To Be A Better WayGoal #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 Marketplace

Friday, June 15, 12

There’s Got To Be A Better WayGoal #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 Marketplace

Friday, June 15, 12

There’s Got To Be A Better WayGoal #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 Marketplace

Friday, June 15, 12

There’s Got To Be A Better WayGoal #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 Marketplace

Friday, June 15, 12

Friday, June 15, 12

Friday, June 15, 12

WTF Just Happened?• Exported workflow as a zip file

• Accepted required plugins to be exported

• Added notes for importer in Markdown format

Friday, June 15, 12

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 designer

Friday, June 15, 12

• Upload to Marketplace• Add to “Workflow Bundles” category• Mark as NOT deployable

Sharing Workflow Bundles

Friday, June 15, 12

Friday, June 15, 12

Friday, June 15, 12

Friday, June 15, 12

Friday, June 15, 12

Friday, June 15, 12

Friday, June 15, 12

Friday, June 15, 12

14+ Workflow Bundles In Marketplace RIGHT NOW!

Friday, June 15, 12

JIRA Workflow Sharing Plugin (beta)

http://marketplace.atlassian.com

or search in Universal Plugin Manager

http://atlss.in/workflow-sharing

Friday, June 15, 12

Thank you!

Friday, June 15, 12

top related