Versions Compared

Key

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

Steps

The following steps demonstrate how to configure Create on Transition for Jira to add a canned response based on a label when creating an issue

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


Image Removed
Image Added

Step 1

As a Jira Administrator or Workflow Administrator:

  1. Click the Cog icon to open the Settings menu and select Issues

  2. Click Workflows

  3. Navigate to your workflow and edit your workflow to create a draft version

  4. Select step 1

  5. Select the Create transition

  6. Select the Post Functions tab.

  7. Click Add post function

  8. Select Update issues (Bob Swift) post function and add

Image Removed
Image Added
Image Removed

Image Added

Step 2

Within the Issue Fields section:

  1. Select

the 
  1. the Comments & attachments

 tab
  1.  tab

  2. In the Add comment, enter the required comment, in this instance: "Thanks for your request for the evaluation license promo code. We’re working on it and will get back to you soon."

Image Removed
Image Added
Image Removed

Image Added

Step 3

  1. Select

the 
  1. the Conditions & Configuration

 tab
  1.  tab.

  2. Enter "%original_labels%" in

the 
  1. the Condition 1

 field
  1.  field.

  2. Enter "license" in

the 
  1. the Regular expression pattern

 field
  1.  field.

Select Exact 
  1. Select Exact matching condition, so we only add a comment
    when the label is "license".

  2. Click

the 
  1. the Add

 button
  1.  button to save your changes.

Image Removed
Image Added
Image Removed

Image Added

Step 4

  1. Ensure to publish your workflow. It is always recommended to save a backup of the previous workflow when prompted.

  2. Create an issue with a label 'license'

  3. Validate the newly created issue to ensure that the comment is added