---
title: "Custom condition - Cloud"
canonical: "https://support.appfire.com/space/CSOT/68752726/Custom%20condition%20-%20Cloud"
format: markdown
---
> Macro (aura-html)

# Description

**Custom condition** is a [workflow condition](https://developer.atlassian.com/cloud/jira/software/modules/workflow-condition/) that uses powerful [Jira expressions](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/) and [types](https://developer.atlassian.com/cloud/jira/platform/jira-expressions-type-reference/#list) to control whether the user can execute the transition or not. If the expression used as a condition:

- Succeeds: <span style="color: #172b4d">User can see the next status in the issue workflow and can transition the issue</span>.
- Fails: <span style="color: #172b4d">User cannot see the next status in the issue workflow and therefore, cannot proceed with the transition.</span>

# Add a custom condition

## Select condition

1. Navigate to the intended workflow and create a draft.
2. Click the **Add** **condition** button in the* Conditions *tab of the workflow transition where you want to apply the condition.
3. Find and select the *Custom condition (Bob Swift)* from the list.
4. Click the **Add** button to add the condition to the selected transition.

## Add details to the condition

1. Enter the following details in the ***CONDITION FIELDS > Configuration**** *tab:
  - **Expression**: Enter a [Jira expression](https://developer.atlassian.com/cloud/jira/platform/jira-expressions/), which when satisfied, allows the user to view the workflow transition and to proceed to the next status.  
For example: do not allow the users to view the next status if there are no attachments in the issue:
  - **Evaluate**: <span style="color: #333333">Click this button to validate your Jira expression. If the syntax is incorrect, you are prompted with an error message</span><span style="color: #333333"> that directs you to what possibly went wrong.</span>  
> Macro (inline-media-image)
  - ***Notes***** (optional)**: Enter useful information about the condition.
2. Click **Add **to add the condition to the selected transition.  
You can also navigate to the quick links in the *HELP *section to learn more about the condition and usage details.

> ⚠️ Ensure that you publish the workflow to apply the configured *Custom condition *on the issue transition.

## View conditions

Once you add a custom condition to the intended transition, you can view the details in the *Conditions* tab as follows (for an example input):

![image](media://e7f89460-65df-478a-988d-22c3454e49fb)

### Helpful link(s)

[Introducing Jira expressions](https://community.developer.atlassian.com/t/introducing-jira-expressions/20006)