Skip to main content
Skip table of contents

Jira Forms (formerly ProForma)

This integration will no longer work after August 5th 2024 and Deep Clone for Jira will no longer be able to clone Forms due to Atlassian removing our access to the Forms data. https://developer.atlassian.com/changelog/#CHANGE-1735

We are providing workarounds until we can provide a more permanent solution here.

If this impacts you, contact us.

Workarounds

Use the Forms REST API with Jira Automation

It is possible to clone Jira forms with Deep Clone by using a Jira Automation and the Jira Forms REST API.

2024-07-25 12-34-20240725-103437.png

Steps to Set Up This Jira Cloud Automation Rule:

  1. Access Jira Cloud Automation:

    • Go to your Jira Cloud instance.

    • Navigate to the project where you want to set up the automation rule.

    • Select Project Settings and then Automation.

  2. Create a New Rule:

    • Click on Create rule.

    • Choose Incoming Webhook as the trigger.

    • Copy and paste the Webhook URL provided into the Advanced Options configuration in the general Deep Clone Dialog.

2024-07-25 12-39-20240725-103917.png

  1. Add Branch for Linked Issues:

    • Click on Add component and select Branch rule/related issues.

    • Select For: Linked Issues.

    • Specify the link type as clones. (Or another unique link type that Deep Clone is creating during the clone)

  2. Create Smart Value Variable:

  3. Send GET Web Request to retrieve attached forms:

    • Add an action to Send web request.

    • Configure the request as a GET request to the specified URL: https://api.atlassian.com/jira/forms/cloud/{{cloudId}}/issue/{{issue.key}}/form

    • For authorization, refer to the Atlassian documentation.

image-20240725-131004.png
  1. Log Response to Audit Log:

    • Add an action to Log action.

    • Log the value {{webResponse.body.id.join("\",\"")}} to the audit log.

    • This way, you can check the audit log for what forms have been passed to the next web request.

  2. Send POST Web Request to copy the forms:

    • Add another action to Send web request.

    • Configure the request as a POST request to the specified URL: https://api.atlassian.com/jira/forms/cloud/{{cloudId}}/issue/{{issue.key}}/form/copy/{{triggerIssue.key}}

    • For authorization, refer to the Atlassian documentation.

    • The web request body has to be the following Custom data:

      JSON
      {
        "ids": [
          "{{webResponse.body.id.join("\" ,\"")}}"
        ]
      }
image-20240725-131353.png
  1. Save and Enable the Rule:

    • Review the rule configuration.

    • Save the rule and enable it.

By following these steps, you can set up an automation rule in Jira Cloud to handle cloned issues, retrieve form data, and copy it to the cloned issue that triggered the webhook.

Clone Forms as PDF attachments

As a workaround, you can configure the Jira form to Create and attach a PDF of the form to the issue. That way, Deep Clone can clone the PDF attachment as long as Attachments is checked under Clone additional fields in the Clone configuration.

Jira forms configuration screen with Create and attach a PDF of the form to the issue

Clone Form templates manually

If you want to reuse your Form templates in another Jira Service Management Project, you can copy the templates manually by going to ⚙️ Project settings > Forms and clicking the three dots menu of the template you want to copy > Copy to project.

image-20240729-135539.png


Install Deep Clone for Jira

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.