How can I get the form ID to use it with Proforma API

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.

Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Scenario

The purpose of this KB article is to show how to get the Form ID, which is required to use the Proforma API.

Environment

Jira Data Center with the Proforma app installed on top.

Resolution

The form ID can be retrieve by using the URL, after replacing:

  • <JIRA_BASE_URL> with Jira Base URL
  • <issueId_or_IssueKey> with the Jira Issue ID or Key

<JIRA_BASE_URL>/rest/api/2/issue/<issueId_or_issueKey>/properties/proforma.forms

The result looks like this:

{
    "key": "proforma.forms",
    "value": {
        "schemaVersion": 4,
        "forms": [
            {
                "id": 1,
                "projectFormId": 1,
                "internal": true,
                "submitted": true,
                "name": "3/13/2024 New Form",
                "updated": "2024-03-13T19:52:23.822793Z"
            }
        ]
    }
}


Where the form ID = 1.

With that you can use Proforma APIs, for example:

/rest/proforma/1/issue/{issueKey}/form/{formId}/answers 





Last modified on Feb 7, 2025

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.