The issue description is like the one in the example below.
I'd like to extract word2 after Section.
Which expression can I use?
Deviceword1
Sectionword2
Areaword3
Hello @Antonio Calì
Here is one function to manipulate the text using jira smart values.
If you want to get the texts after word2 section than use this function:
Returns the text after the first occurrence of the given separator.
<br><strong>{{issue.summary.substringAfter("word2")}}</strong>
Input : This is the word2 reporting about an issue!Output: reporting about an issue!
For more information, see this reference from atlassian documentation: StringUtils.substringAfter(String).
Hello @Sanjog Sigdel thanks for your reply, so if I want to extract "word2" right below "Section" I can use:
{{issue.summary.substringAfter("Section")}}
The output looking at my sample issue Descripion will be: word2
Yes you can. Though this will be a task specific automation. For ever new word you want to separate the summary, you should create a new automation action.
Reference Link:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/
It looks like you're new here. Sign in or register to get started.