Our team is trying to setup automation triggers for Pull Request merges into specific branches.
Some Context:
- We're using GitHub for our code repo.
- GitHub integration is setup and connected properly
For this particular Automation question We're using:
- When: "Pull request merged"
- Condition: "Advanced Compare Condition"
- Then: "Transition the issue to
The issue is in the "Advanced Compare Condition". Our condition is checking if {{pullRequest.destinationBranch}} equals develop.
- Our guess is that the smart value {{pullRequest.destinationBranch}} is not yielding a result (or not our expected result).
That should be the right syntax according to the documentation here: https://support.atlassian.com/jira-software-cloud/docs/smart-values-development/
Possible issues:
- This is not supported for GitHub integrations. However, can't find any documentation on this
- We need to use the nested syntax {{pullRequest.destinationBranch.name}} as loosely implied by the link here: https://support.atlassian.com/jira-software-cloud/docs/smart-values-development/#Smartvalues-development-branch
If anyone else out there using JIRA + GitHub + Automation rules has some advice that be greatly appreciated!