PCJ:How to identify where objects are used in a workflow

Sometimes when exporting or importing a workflow, you may encounter an error relating to an object such as a status, custom field or a resolution which does not exist and you will need to identify which area of the workflow where the object is referenced in order to update the reference to the object.

Step-by-step Guide

In order to identify where the item referenced is used, you should follow the steps outlined below in order to export the workflow out to XML so that you can search the XML to identify where the object is referenced.

  1. Navigate to the workflows page located at <JiraBaseURL>/secure/admin/workflows/ListWorkflows.jspa
  2. Locate and open the workflow mentioned in the error.
  3. When viewing the workflow click the Export drop down in the top left-hand corner of the screen.
  4. In the drop-down list select the As XML option.
  5. Wait for the workflow to download as an XML file inside of your web browser.
  6. Open up the downloaded XML file in a text editor.
  7. Search for the object mentioned in the error in order to identify all areas where the object is referenced inside of the workflow.