I'm trying to prevent a workflow transition if a pull request was not made for an particular linked ticket.
I can't find any help regarding this online, am I using the wrong string value in the conditional perhaps?
We had similar task but need to check if is there any commit related to the issue.
We can query issues using "development[commits].all > 0" but can't check this in workflow "Conditions".
The solution is as follows:
Now we can check if issue has commits in workflow conditions by checking "Compare Number Custom Field Condition" against "Has commit" custom field.
As for "Start Review" transition "In progress" -> "Code Review" we decided to not allow it manually.
It is configured to run only by trigger "Pull request created" or by Project Admin ('User Is In Project Role' condition) to deal with old issues with already created pull requests.
Finally developer just need to create a pull request and the issue transitioned automatically to "Code Review" status.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events