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}}.
project = XX AND type = Sub-task and summary ~ "\"subtask123\""
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can extract a string that appears between other string segments with a longer string using the substringBetween() function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.
Learn moreOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.