• Forms on Customer Request
  • Forms Export
  • Forms on Project
  • Forms on Portal
  • Forms on Issue
Cloud
Forms / Reference / REST API

Forms on Project

Postman Collection
OpenAPI
GET

Get form template

Gets a form template as a JSON object on a project.

Permissions required:

Data Security Policy: Exempt from app access rules
Scopes
read:jira-work

Connect app scope requiredREAD

Request

Path parameters

projectIdOrKey

string

Required
formId

string

Required

Query parameters

requestLanguage

string

Responses

Returned when the form template is retrieved successfully.

application/json

FormTemplate

The form template associated with a project.

GET/project/{projectIdOrKey}/form/{formId}
1 2 3 4 curl --request GET \ --url 'https://api.atlassian.com/jira/forms/cloud/{cloudId}/project/{projectIdOrKey}/form/{formId}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 { "id": "c18bde7a-d846-11ed-afa1-0242ac120002", "updated": "2023-04-11T08:59:18Z", "design": { "conditions": {}, "layout": [ {} ], "questions": {}, "sections": {}, "settings": { "name": "New employee onboarding", "language": "en", "submit": { "lock": true, "pdf": true }, "primaryLocale": { "language": "<string>", "displayName": "<string>", "country": "<string>", "variant": "<string>", "script": "<string>", "unicodeLocaleAttributes": [ "<string>" ], "unicodeLocaleKeys": [ "<string>" ], "displayLanguage": "<string>", "displayScript": "<string>", "displayCountry": "<string>", "displayVariant": "<string>", "extensionKeys": [ "<string>" ], "iso3Language": "<string>", "iso3Country": "<string>" }, "translatedLocale": { "language": "<string>", "displayName": "<string>", "country": "<string>", "variant": "<string>", "script": "<string>", "unicodeLocaleAttributes": [ "<string>" ], "unicodeLocaleKeys": [ "<string>" ], "displayLanguage": "<string>", "displayScript": "<string>", "displayCountry": "<string>", "displayVariant": "<string>", "extensionKeys": [ "<string>" ], "iso3Language": "<string>", "iso3Country": "<string>" } } }, "publish": { "jira": { "recommendedIssueRequestTypeIds": [ 92 ], "issueCreateIssueTypeIds": [ 109 ], "issueCreateRequestTypeIds": [ 111 ], "submitOnCreate": true, "validateOnCreate": true }, "portal": { "portalRequestTypeIds": [ 63 ], "submitOnCreate": true, "validateOnCreate": true } } }
PUT

Save form template

Saves a form template on a project.

Permissions required:

Data Security Policy: Exempt from app access rules
Scopes
manage:jira-project

Connect app scope requiredWRITE

Request

Path parameters

projectIdOrKey

string

Required
formId

string

Required

Request bodyapplication/json

A JSON object containing a form template to save.

design

FormDesignRequest

Required
publish

FormPublishing

Responses

Returned when the form template is saved successfully.

application/json

FormTemplateIndexEntry

A summary of a form template associated with a project.

PUT/project/{projectIdOrKey}/form/{formId}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 curl --request PUT \ --url 'https://api.atlassian.com/jira/forms/cloud/{cloudId}/project/{projectIdOrKey}/form/{formId}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "design": { "conditions": {}, "layout": [ {} ], "questions": {}, "sections": {}, "settings": { "name": "New employee onboarding", "language": "en", "submit": { "lock": true, "pdf": true }, "primaryLocale": { "language": "<string>", "displayName": "<string>", "country": "<string>", "variant": "<string>", "script": "<string>", "unicodeLocaleAttributes": [ "<string>" ], "unicodeLocaleKeys": [ "<string>" ], "displayLanguage": "<string>", "displayScript": "<string>", "displayCountry": "<string>", "displayVariant": "<string>", "extensionKeys": [ "<string>" ], "iso3Language": "<string>", "iso3Country": "<string>" }, "translatedLocale": { "language": "<string>", "displayName": "<string>", "country": "<string>", "variant": "<string>", "script": "<string>", "unicodeLocaleAttributes": [ "<string>" ], "unicodeLocaleKeys": [ "<string>" ], "displayLanguage": "<string>", "displayScript": "<string>", "displayCountry": "<string>", "displayVariant": "<string>", "extensionKeys": [ "<string>" ], "iso3Language": "<string>", "iso3Country": "<string>" } } }, "publish": { "jira": { "recommendedIssueRequestTypeIds": [ 92 ], "issueCreateIssueTypeIds": [ 109 ], "issueCreateRequestTypeIds": [ 111 ], "submitOnCreate": true, "validateOnCreate": true }, "portal": { "portalRequestTypeIds": [ 63 ], "submitOnCreate": true, "validateOnCreate": true } } }'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 { "id": "<string>", "name": "<string>", "updated": "<string>", "portalRequestTypeIds": [ 77 ], "recommendedIssueRequestTypeIds": [ 136 ], "issueCreateIssueTypeIds": [ 64 ], "issueCreateRequestTypeIds": [ 66 ] }
DEL

Delete form template

Deletes a form on a project. This won't affect existing issues that already use this form, or any copies of this form in other projects.

Permissions required:

Data Security Policy: Exempt from app access rules
Scopes
manage:jira-project

Connect app scope requiredDELETE

Request

Path parameters

projectIdOrKey

string

Required
formId

string

Required

Responses

Returned when the form template is deleted successfully.

application/json

string

DEL/project/{projectIdOrKey}/form/{formId}
1 2 3 4 curl --request DELETE \ --url 'https://api.atlassian.com/jira/forms/cloud/{cloudId}/project/{projectIdOrKey}/form/{formId}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
200Response
1 "<string>"
GET

Get project form index

Get a list of form templates associated with the project.

Permissions required:

Data Security Policy: Exempt from app access rules
Scopes
read:jira-work

Connect app scope requiredREAD

Request

Path parameters

projectIdOrKey

string

Required

Responses

The list of form templates on the project.

application/json

array<FormTemplateIndexEntry>

GET/project/{projectIdOrKey}/form
1 2 3 4 curl --request GET \ --url 'https://api.atlassian.com/jira/forms/cloud/{cloudId}/project/{projectIdOrKey}/form' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [ { "id": "<string>", "name": "<string>", "updated": "<string>", "portalRequestTypeIds": [ 77 ], "recommendedIssueRequestTypeIds": [ 136 ], "issueCreateIssueTypeIds": [ 64 ], "issueCreateRequestTypeIds": [ 66 ] } ]
POST

Create form template

Creates a form template on a project.

Permissions required:

Data Security Policy: Exempt from app access rules
Scopes
manage:jira-project

Connect app scope requiredWRITE

Request

Path parameters

projectIdOrKey

string

Required

Request bodyapplication/json

A JSON object containing the content for a form template.

design

FormDesignRequest

Required
publish

FormPublishing

Responses

Returned when the form template is created successfully.

application/json

FormIndexEntry

A summary of a form associated with an issue or request.

POST/project/{projectIdOrKey}/form
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 curl --request POST \ --url 'https://api.atlassian.com/jira/forms/cloud/{cloudId}/project/{projectIdOrKey}/form' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "design": { "conditions": {}, "layout": [ {} ], "questions": {}, "sections": {}, "settings": { "name": "New employee onboarding", "language": "en", "submit": { "lock": true, "pdf": true }, "primaryLocale": { "language": "<string>", "displayName": "<string>", "country": "<string>", "variant": "<string>", "script": "<string>", "unicodeLocaleAttributes": [ "<string>" ], "unicodeLocaleKeys": [ "<string>" ], "displayLanguage": "<string>", "displayScript": "<string>", "displayCountry": "<string>", "displayVariant": "<string>", "extensionKeys": [ "<string>" ], "iso3Language": "<string>", "iso3Country": "<string>" }, "translatedLocale": { "language": "<string>", "displayName": "<string>", "country": "<string>", "variant": "<string>", "script": "<string>", "unicodeLocaleAttributes": [ "<string>" ], "unicodeLocaleKeys": [ "<string>" ], "displayLanguage": "<string>", "displayScript": "<string>", "displayCountry": "<string>", "displayVariant": "<string>", "extensionKeys": [ "<string>" ], "iso3Language": "<string>", "iso3Country": "<string>" } } }, "publish": { "jira": { "recommendedIssueRequestTypeIds": [ 92 ], "issueCreateIssueTypeIds": [ 109 ], "issueCreateRequestTypeIds": [ 111 ], "submitOnCreate": true, "validateOnCreate": true }, "portal": { "portalRequestTypeIds": [ 63 ], "submitOnCreate": true, "validateOnCreate": true } } }'
200Response
1 2 3 4 5 6 7 8 9 10 11 { "id": "<string>", "formTemplate": { "id": "<string>" }, "internal": true, "submitted": true, "lock": true, "name": "<string>", "updated": "<string>" }

Rate this page: