Hi, I need to adjust automation rule for transition of issue to Test status, based on pull request merge. It works now, but I need to limit it only for cases when PR source branch equals to the original branch of the issue.
Will it work with these smart values?
{{pullRequest.sourceBranch}} equals {{branch.name}}
Thanks
I believe those smart values only work with their related triggers, pull request and branch, respectively, and are not otherwise available to the issue:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-development/
Some workarounds are to use separate rules, saving the smart value information for later use in the issue as custom fields, or to use the Send Web Request action to call the REST API endpoints for your source control tool to access it.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira Product Discovery Premium is now available! Get more visibility, control, and support to build products at scale.
Learn moreOnline 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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.