Hello everyone :)
I hope someone here can help me because I’m currently at my wits’ end.
The supervisor fills out an onboarding form, and once it’s submitted, the status changes to "Waiting for Approval." So far, everything is fine. However, after submitting the form, the supervisor still needs to press the "Approve" button.
In the audit log, as shown in the image (see arrow), he doesn’t want to do anything more from that point on.
The background is that there’s a checkbox in the form. If this is checked, an additional ticket should be created and linked to the existing ticket.
Heads up!
If I replace the upper trigger and insert the "Form Submitted" trigger at the very top, the automation works. The problem with this automation, however, is that as soon as the form is submitted, the corresponding tickets are created immediately, whatever was selected in the checkbox. But the process itself is still waiting for approval, and that’s suboptimal. Unless someone has an idea…
Withint the form you have the checkbox field correct?
If so, have you set the "Field Key" option in the fields setting to a value, in you case "Sap"?
As a checkbox field is based on a value and not on the label, the smart value should be:
{{issue.forms.<UUID checkbox field>.Sap}} equals value, not label.
See here in the documentation; Access-smart-values-without-using-the-Forms-submitted-trigger , use the forms rest API to get the UUID and values for the field.
there are multiple values in the checkbox field, SAP, Qlikview, etc.... What would be the operation then?
Would this be correct here?
{{issue.forms.UUID.choiceField.last.Sap.label}}
If so, what would I have to put in points 2 & 3 see picture?
The aim is to create a ticket when box 1 is clicked (SAP). If 1 & 2 then two separate tickets because different departments.
Thank you in advance for your answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the https://developer.atlassian.com/cloud/forms/rest/api-group-forms-on-project/#api-project-projectidorkey-form-get to get the UUID of the field SAP
Example:
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.
@Dimitrios Kouroumichakis apologies, my help may be a bit limited since the Automation screenshot isn't in English, but it sounds like your trigger should be the transition from 'Waiting for Approval' to 'Open' (or whatever status comes when the supervisor approves). The corresponding ticket should only be created when the original request has been approved. If it's Rejected or Waiting for Approval for a few days, nothing should happen.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The ticket should be created when it is approved. But, if the form is submitted before, the system starts creating new tickets before the approval is confirmed.
That's why I thought I would set the status to OPEN. It would also work if the manager clicks on Approval. Only he sends the form beforehand.
I hope you understand me. Thank you for getting in touch :)
Note: This only works if the upper trigger has submitted the form. The one in the example is a different trigger if approval is accepted or canceled.
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.