Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Search subtask summary and find value between the braces

Goli_ Raja March 31, 2025

We have multiple subtasks in story, I want to search all the subtasks with name contains/like "subtask123" and for that subtask I want to get the string between the { }. 

I am able to find the subtask using below filter. Is it possible to search and get the string using one {{smart value}}.

@Bill Sheboy 

project = XX AND type = Sub-task and summary ~ "\"subtask123\""

1 answer

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2025

Hello @Goli_ Raja 

Welcome to the Atlassian community.

I am not sure what you are trying to accomplish.

The JQL you specified will retrieve a set of subtasks based on specific text appearing in the Summary field.

You stated:

I am able to find the subtask using below filter. Is it possible to search and get the string using one {{smart value}}.

I am unclear specifically about what you are trying to accomplish with the question you asked:

Is it possible to search and get the string using one {{smart value}}.

What string are you trying to get?

 

Smart values are only relevant when you are working within Automation Rules. Are you working with an Automation Rule?

Are you trying to execute a JQL within an Automation Rule using a smart value in place of the explicit string "\"subtask123\""?

Can you show us screen images that show your entire Automation Rule? Can you explain to us what you want to accomplish with your Automation Rule?

 

 

 

Goli_ Raja March 31, 2025

I am working with Automation Rule,

1. Find the subtask with summary contains "subtask123"

2. Then find the string between braces { } and copy in custom field

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2025

Please provide an example of the complete text you are trying to search where you want to "find the string between braces { }". What field in the issue contains the full text you want to search?

Can you show us the screen images for the Automation rule you have constructed?

Like • Bill Sheboy likes this
Goli_ Raja March 31, 2025

Following are my subtasks in a story. I want the string "abcd" from the subtask summary like "subtask123".

1. functional testing

2. subtask123 {abcd}

3. unit testing

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2025

You can extract a string that appears between other string segments with a longer string using the substringBetween() function.

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#substringBetween-String-open--String-close-

Like • Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
atlassian, loom, AI, meeting recording, community

[NEW] Record your meetings with Loom

Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.

Learn more
AUG Leaders

Atlassian Community Events