In Jira Automation when using the When: Pull request created I typically have an Issue fields condition step that checks for a Component field value and then post a message to Microsoft Teams.
The issue I'm facing is that if the pull request in question contains more than one issue it will post multiple messages to teams, one for each issue in the pull request.
Is there a way of validating the component of either all or the first issue in the pull request and proceed to only post a single message to Microsoft Teams.
Thanks!