Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Working with workflow transitions might sometimes lead to unforeseen errors or warnings. This article explains an example scenario that causes such error logs. These log messages help an administrator trace any unwanted errors and aid in taking necessary steps to fix them. 

Example scenario

Assume that you are creating an issue using the Create Issue post function of the Create on Transition for Jira app and wrongly assigned one of the variables. The following steps explain what happens in such a scenario:

Table plus
border0
heading0
multiplefalse
enableHeadingAttributesfalse
columnAttributesstyle="border:0;width=5%;",style="border:0;width=65%;",style="border:0;width=30%;max-width=30% !important;"
idsteps_table
enableSortingfalse
enableHighlightingfalse


Step 1

As a Jira Administrator or Workflow Administrator:

  1. Navigate to the required project workflow using Project settings.
  2. Edit your workflow to create a draft version.
  3. Navigate to the Post Functions tab.
  4. Add a Create Issue post function.


Step 2

  1. Select the Detailed Fields tab.
  2. Select the following:
    • Project - Enter a project name that is different from the original project.
    • Issue type - "Improvement".
    • Leave the other default values as is.
      Notice that the Create Issue post function is created and added to the list of post functions.


Step 3

Publish the edited workflow for the changes to be effective in the respective project.



Step 4

  1. Navigate to any issue in the respective project.
  2. Transition from Open to Start progress for which you added the post function. You observe that no issue is created in the target project since the set Issue type (Improvement) doesn't exist.
  3. Navigate to Jira ADMINISTRATION > Manage apps > BOB SWIFT CONFIGURATION > Create on Transition.
  4. Select the Log messages tab. You see that a new error log is created with the required information in the log message.


...