So we just spun up a new environment, I went to define my automated workflows and was presented with a "Hold up, triggers will be deprecated soon, use our new automations".
I'll bite. So I check them out - pretty intuitive.
But there are a few flows that I have found impossible:
Basically - any flow that involves assigning the user that [created a branch, created a PR] cannot be used.
Am I just missing it? Where is this option? Here is what I've tried:
Trigger When: Branch Created
Status Equals: To Do
Then: Transition the issue to IN PROGRESS,
And: Assign the issue to (here are all the things I've tried):
Automatic (this does nothing)
User who triggered the event (this assigns it to the Automation Jira User)
I also tried just setting the field in the "Then: Transition the issue to IN PROGRESS" to "Automatic" and "User who triggered this event" <-- the same thing happens (either nothing, or it gets assigned to the "Automation User"
I also tried modifying the main Rule Details, changing the Actor from "Automation for Jira" to "User who triggered this event" but it gave me all kinds of validation errors:
"When security restrictions prevent running as the 'User who triggered the event', the actor will be 'Automation for Jira' instead.
Selecting an actor other than the 'Automation for Jira' user may cause other rules to be triggered by this rule, even if 'Allow rule trigger' isn't enabled"
and "The selected trigger requires the actor to be set to a user."
This was so simple with workflows triggers - it just assigned it to the user who created the branch or PR.
How do I do this now?
Just found this duplicate: https://community.atlassian.com/t5/Jira-Software-questions/How-to-change-Assignee-with-Automation-using-GitHub-cloud/qaq-p/1565258