# \#workflow

**URL:** https://forum.library.adaptavist.com/tag/workflow/26.md

[Latest](https://forum.library.adaptavist.com/latest.md) · [Categories](https://forum.library.adaptavist.com/categories.md) · [Tags](https://forum.library.adaptavist.com/tags.md)

---

## [How to Create a Jira Workflow Condition that only allows the transition if there has been a pull request](https://forum.library.adaptavist.com/t/how-to-create-a-jira-workflow-condition-that-only-allows-the-transition-if-there-has-been-a-pull-request/388)

<div class="topic-metadata">

**Author:** [@Cash](https://forum.library.adaptavist.com/u/Cash)\
**Replies:** 0\
**Last updated:** [October 12, 2023, 2:26pm UTC](https://forum.library.adaptavist.com/t/how-to-create-a-jira-workflow-condition-that-only-allows-the-transition-if-there-has-been-a-pull-request/388 "2023-10-12T14:26:46Z")

</div>

In Jira Cloud, How can I Create a Jira Workflow Condition using a ScriptRunner Script as the condition in a workflow transition that only allows the transition if there has been a pull request?

---

## [Need a Jira Workflow Condition to check for text in the Summary using ScriptRunner](https://forum.library.adaptavist.com/t/need-a-jira-workflow-condition-to-check-for-text-in-the-summary-using-scriptrunner/301)

<div class="topic-metadata">

**Author:** [@Cash](https://forum.library.adaptavist.com/u/Cash)\
**Replies:** 2\
**Last updated:** [February 28, 2023, 8:44am UTC](https://forum.library.adaptavist.com/t/need-a-jira-workflow-condition-to-check-for-text-in-the-summary-using-scriptrunner/301 "2023-02-28T08:44:08Z")

</div>

I am trying to create a Jira Workflow Condition to check for specific text in the Summary field This is what I tried: issue.summary.match(“myword”) == “myword” but I get this error: Evaluation failed: “issue.summa…
