Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1612

Clone action clones an issue with Action items converted into Bullet list

    • Severity 3 - Minor
    • Jira Software

      Issue Summary

      When an issue contains Action items in the Description field and the Clone action in Jira automation is used, the newly cloned issue displays the Description field as a Bullet list rather than preserving the original Action items format

      Steps to Reproduce

      Create an automation as follows: 

      • <<Manual Trigger>>
      • <<For JQL Branch>>
      • JQL query : key = xyz-123
      • <<Clone Action>>
        • Project = Same
        • Issue Type = Same
        • Summary = CLONE - issue.summary

      Expected Results

      The Description field should have action items in the cloned issue

      Actual Results

      The Description field has bullet items in the cloned issue.

      The JSON output of the issue shows

         "description": "* -Take action 1-\n* -Take action 2-\n* -Take action 3-",
      

      This when copied over using {{issue.description}} is converted into bullet items.

      Action items are represented as []
      Using the Choose field to Set also does not translate [] to action items.
      Manual Clone from Issue UI option uses Type taskList as payload to create a Clone.

      Workaround

      Currently, there is no known workaround for this behavior. A workaround will be added here when available

          Form Name

            [AUTO-1612] Clone action clones an issue with Action items converted into Bullet list

            Nick Cox added a comment -

            This is a recently introduced functionality in Jira. Note that some of the discussion in the community post relates to how to use the feature with Automation, so there seems to be some customer interest outside of this bug report.

            From a quick investigation, it seems as though we might need to use the ADF APIs for both reading the existing issue and creating the new one. (Although it seems documentation for the new `taskList` nodes hasn't been published yet.)

            Nick Cox added a comment - This is a recently introduced functionality in Jira . Note that some of the discussion in the community post relates to how to use the feature with Automation, so there seems to be some customer interest outside of this bug report. From a quick investigation, it seems as though we might need to use the ADF APIs for both reading the existing issue and creating the new one. (Although it seems documentation for the new `taskList` nodes hasn't been published yet .)

              Unassigned Unassigned
              790ca575addc Zee Choudhry
              Affected customers:
              41 This affects my team
              Watchers:
              37 Start watching this issue

                Created:
                Updated: