Hello,
For my project I am trying to create an automation that would just keep the first line of the description of my tickets. Therefore I would like to find a smart Value Code that could delete every other lines and keep the first one.
I am desperately trying but I can't figure it out.
Please feel free to ask me any question if I wasn't clear enought.
Hello @Gaspard DUPUIS
Welcome to the Atlassian community.
Does the first line end with a consistent character, like a period? And is the first use of that character always going to be at the end of the first line?
If the first line will always end with a period, and there will not be another period in the line before the end of the line, then you could use something like this to get that first line:
{{issue.description.substringbefore (".")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Gaspard DUPUIS,
I've been playing around with this, but I haven't been able to find a specific way to get just a single line from the description.
Thanks,
Kian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.