Hello,
I would like to create Jira automation rule that transits the issue when pull request is created and another rule which transits issue when pull request it is merged.
But I want rule is triggered only if {{pullRequest.destinationBranch}} is the same as branch from which I created {{pullRequest.sourceBranch}}.
So the condition here should be something like that:
```if {{pullRequest.destinationBranch}} == {{pullRequest.sourceBranch.SOURCE_BRANCH}}```
But the problem is SOURCE_BRANCH. I other words how to get branch from which was created another branch (in that case pull request source branch).
For any help great thanks in advance.
Community moderators have prevented the ability to post new answers.