jira smart values contains

Understanding Jira Smart Values: Contain vs. Exists

By Richard Jackson
AD

In the realm of project management and issue tracking, Atlassian's Jira is renowned for its robust features and customization options. One such feature is the ability to use smart values within Jira, enabling users to pre-fill fields and optimize workflows. Let's delve into the concept of "Jira smart values contains" and explore how it can streamline your project management processes.

At its core, Jira's smart values contain pre-defined or dynamic data that can be inserted into various fields, saving time and reducing errors. By utilizing the contains operator, you can create sophisticated and efficient smart value rules.

Understanding Jira Smart Values

Before delving into the contains operator, let's establish a foundational understanding of Jira smart values. Smart values in Jira are a collection of pre-defined or dynamic data that can be inserted into fields within Jira issues. They are an amalgamation of text, issue data, or data from other fields, making them a powerful tool for streamlining your project management processes.

AD
Jira Keyboard shortcuts
Jira Keyboard shortcuts
Jira Tutorial – Complete Guide to Project Management and Issue Tracking
Jira Tutorial – Complete Guide to Project Management and Issue Tracking
# Master JIRA Like a Pro! | Vikaas Daruri posted on the topic | LinkedIn
# Master JIRA Like a Pro! | Vikaas Daruri posted on the topic | LinkedIn

Smart values can be static, containing a predefined set of data, or dynamic, pulling data from other fields or external systems. By utilizing smart values, teams can automate data entry, reduce manual errors, and maintain consistency throughout their issues.

Creating Static Smart Values

Static smart values are pre-defined sets of data that remain constant. They are an excellent choice when you need to insert the same text or data into multiple fields. To create a static smart value, you would use the following format:

10 Best Jira Alternatives You Should Consider in 2025 - Teamcamp Blog
10 Best Jira Alternatives You Should Consider in 2025 - Teamcamp Blog
Main Jira Concepts Infographic
Main Jira Concepts Infographic
Master Project Management with Jira Software
Master Project Management with Jira Software

{static value: "Text you want to insert"}

Drawing Data from Other Fields with Dynamic Smart Values

Dynamic smart values pull data from other fields within the same issue or from external systems connected to your Jira instance. This "contains" operator is instrumental in creating dynamic smart values. By using the "contains" operator, you can insert data from other fields or perform complex operations on that data.

AD

For instance, to insert the text "Assigned to {assignee.name}" into a field, you would use the following format:

How to Create Issue Templates for Jira?
How to Create Issue Templates for Jira?
15 Best Jira Dashboard Examples
15 Best Jira Dashboard Examples
Master JIRA COURSE
Master JIRA COURSE
the jira board is designed to help you learn how to use it for projects
the jira board is designed to help you learn how to use it for projects
A New Scrum Master & Jira
A New Scrum Master & Jira
Jira | Issue & Project Tracking Software
Jira | Issue & Project Tracking Software

{assignee.name}

Leveraging "Contains" Operator for Complex Smart Values

The "contains" operator is a robust tool that allows you to perform operations on data pulled from other fields. It enables you to create complex smart values that can significantly enhance your workflows. The "contains" operator follows this syntax:

AD

{fieldContains: "field to search in", "value to search for", operator}

Not only epics and stories: understanding Jira issue types
Not only epics and stories: understanding Jira issue types
Best Jira Alternatives Of 2025
Best Jira Alternatives Of 2025
Jira Automation workflow Scrum Master, Business Analyst, Etsy Sales, Too Cool For School, Social Media Design Graphics, Project Management, Real Time, Linux, Social Media Design
Jira Automation workflow Scrum Master, Business Analyst, Etsy Sales, Too Cool For School, Social Media Design Graphics, Project Management, Real Time, Linux, Social Media Design
How To Use Jira Software For Beginners | Jira Software How To Use
How To Use Jira Software For Beginners | Jira Software How To Use
Introducing Jira to your teams and company
Introducing Jira to your teams and company
Jira Pricing Guide: Choose the Right Plan for Your Team
Jira Pricing Guide: Choose the Right Plan for Your Team
Important Updates to Jira Service Management Pricing and Packaging
Important Updates to Jira Service Management Pricing and Packaging
Features of JIRA software
Features of JIRA software
Atlassian Jira
Atlassian Jira
JIRA Cheat Sheet
JIRA Cheat Sheet
an info poster with instructions for how to use the jira automat workflow
an info poster with instructions for how to use the jira automat workflow
an image of a dashboard with graphs and pies on the screen, as well as other data
an image of a dashboard with graphs and pies on the screen, as well as other data
https://www.empyra.com/jira-service-management-consulting
https://www.empyra.com/jira-service-management-consulting

Filtering Data with the "is" and "is not" Operators

The "is" and "is not" operators are the most commonly used with the "contains" operator. They allow you to filter data based on whether it does or does not contain the specified text. For example, to insert the text "This issue is for {project.key} project" only if the issue's current project matches "TES," you would use the following format:

{project.key is "TES": "This issue is for {project.key} project"}

AD

Performing Complex Operations with "starts with" and "ends with" Operators

The "starts with" and "ends with" operators let you perform more complex operations on data. They allow you to insert text based on whether the field data starts with or ends with the specified text. For example, to insert the text "This issue is for {project.key} project" only if the issue's current project starts with "TES," you would use the following format:

{project.key starts with "TES": "This issue is for {project.key} project"}

Similarly, you can use the "ends with" operator to perform operations based on the ending text of a field.

Using "contains" for Regular Expressions

The "contains" operator also supports regular expressions, allowing for even more complex data manipulation. Regular expressions, or "regex," are a powerful tool for matching patterns in text. By using the "matches" operator, you can insert text based on whether the field data matches a specific regex pattern.

For instance, to insert the text "This issue is for {project.key} project" only if the issue's current project matches a three-letter code, you would use the following format:

{project.key matches "^.{3}$": "This issue is for {project.key} project"}

In this example, the regular expression ^.{3}$ matches any three-letter string.

By mastering the "contains" operator and other smart value functionalities in Jira, you can significantly enhance your project management processes. Streamline your workflows, reduce manual errors, and improve your team's efficiency with Jira's powerful smart values.

AD