Hi,
I'm hoping to use Forms in Jira issues to create a two step flow which requires a issue assignee to submit a form for a change request, and the another member of the team has to go in and approve it.
To do this, I want to have an automation that triggers on the form submission, and checks if the person who submitted the form is the assignee of the ticket.
If it is, that should transition the issue and send a slack message.
However, I can't seem to find a way to do that. I'm guessing it should be something like
{{issue.assignee.accountId}} = {{forms.last.submitter.accountId}} but I can't make that work.
I'm adding a field for 'requester' to the form, so maybe I have to compare assignee to this instead?
Hi @Beth Woods ,
If you're going to move forward with this approach where you have Requester field in the form, you could simply add field key within the form (e.g., "requester") which can be used within automation conditions > smart values condition.
If looking at the example above, you could compare values
{{forms.last.requester}}
and
{{issue.reporter}}
👉 I've tried using User condition here > something like the following, but it didn't work. This works as well. With this, you probably wouldn't need to use "Requester" field within the form.
An alternative solution to this one would be to use smart value condition and {{initiator}} smart value but the result is basically the same:
Hope this helps.
Cheers,
Tobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.