Estou precisando enviar o ultimo comentário do card {{comments.last.body}} para um outro sistema, porém preciso remover as quebras de linhas, alguém sabe uma forma de criar uma variável com o texto substituindo o \n por <br>?
HI @Tiago Carlet
Welcome to the community.
This can be done in Jira, the smart values can help.
Have you tried to use replace() to substitute a space or empty string for the newline character before the test? For example:
example: {{issue.comments.last.body.replace("\n"," ")}}
Hi,I figured I should use the replace function, but I didn't know how to implement it.
Now it worked perfectly, thank you very much for the support.
Hi @Tiago Carlet
Please accept my answer as a solution.
This will help other community member trying to solve the same.
It looks like you're new here. Sign in or register to get started.