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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.