I'm looking for a solution to be able to handle multiple Jira tickets from the actions of a single GitHub branch.
Scenario:
You have issues JIRA-1, JIRA-2, and JIRA-3
You create a GitHub branch JIRA-1. You make changes for JIRA-1 but also find some easy and quick fixes for JIRA-2 so you stick it in there as the work is similar as a separate commit. So you have the GitHub branch JIRA-1 with commit #1 JIRA-1 and commit #2 JIRA-2.
Now a PR is opened for branch JIRA-1 with these changes, and merged into the release branch. Once the GitHub Action completes and deploys the changes, I would like to transition both issues JIRA-1 and JIRA-2 into a new workflow such as "Deployed and Ready for testing".
In the given scenario, I am able to handle 1 ticket very easily through Jira Automation. Is there any way to also transition JIRA-2 along? I've tried setting up an automation to link these issues but haven't found a way to. The only options I have are linking to the "Triggered Issue" or "Latest Created Issue" which would be JIRA-3 in this case.