I've JSM Cloud and I've managed to create a ticket with this API:
POST https://<my_domain>.atlassian.net/rest/servicedeskapi/request
With this API I could also attach a form and submit it.
Is it possible to do the same using this other type of API?
POST https://<my_domain>.atlassian.net/rest/api/3/issue
For now, I've managed to firstly create the issue and then attaching the form using this API:
POST https://api.atlassian.com/jira/forms/cloud/{cloudId}/issue/{issueIdOrKey}/form
But then, I need to submit the form and I can't do it with these API.
Could someone please help me?
Welcome to the community.
No this can't be done, as forms can't be used on creating issues internally in JSM.
They can only be used on creating request via the portal.
So the API endpoints have the same limitations.
To submit a from on an issue (internal), use this API endpoint https://developer.atlassian.com/cloud/forms/rest/api-group-forms-on-issue/#api-issue-issueidorkey-form-formid-action-submit-put
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.