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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.