I am looking for a way to be able to automatically submit a form based on the transition of a ticket. I would like to avoid the service desk agents having to remember to close out the form. I want to keep the form open for edits while the ticket is in the previous status.
My plan was to utilize automation to do this (screen capture below).
I am using a web request to gather the forms on the request. I then cycle the data from the web request to find the form I'm looking for (based on the status transition). Lastly, I am using a web request to submit the form. I found the api call to make here: https://developer.atlassian.com/cloud/forms/rest/api-group-forms-on-customer-request/#api-request-issueidorkey-form-formid-action-submit-put. The URL I am running is:
https://ncinodev.atlassian.net/request/{{issue.key}}/form/{{form id}}/action/submit
The response I keep getting is:
Hi @Gary Spross ,
If you haven't been able to solve the problem. Please try adding the additional header for experimental on key add "X-ExperimentalApi" and "opt-in" on the value side. Both without the quotes
Thanks,
Fernando Benavides
Hey @Benavides, Fernando,
Thanks for this response. I had come across this solution and it did work, but I forgot to come back to this post and update it to let anyone else who comes across the same issue know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.