Forums

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

Jira automate description rule line break

Christopher Lia March 14, 2022

Hi guys,

I have created an automation rule in Jira that will automate my description templates. So far everything is working well, I can stylize the code as needed. However, I have run into an issue.

I want to try to add a line break using Jira's automation techniques. So far, I am only successful using Jira's rest API on Python with \n.

Is there any way to do it in the Automation settings of Jira?

3 answers

1 accepted

1 vote
Answer accepted
Иван Евсигнеев
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 6, 2022

Try after text

\\ \\

it's works for me.

Guilhem Dupuy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 7, 2023

worked for me too, thanks !

2 votes
Yadi
Contributor
November 4, 2022

try this "\n" (remove double quote) after text. it is work for me.

refer to How to insert a new line when using lines image.pngimage.png

Jim Buckley Barrett August 7, 2024

Thank you, Yadi that worked perfectly.

1 vote
Stefan Salzl
Community Champion
March 15, 2022

Hi @Christopher Lia and welcome to the community,

the characters \\ will result in a line break.

Best
Stefan

Christopher Lia March 16, 2022

Hi @Stefan Salzl ,

I've also tried that, but still couldn't get it to insert a blank line.

Stefan Salzl
Community Champion
March 16, 2022

Hi @Christopher Lia ,

Could you please add a screenshot of your automation rule? That may help analyzing the problem.

Best
Stefan

Christopher Lia March 16, 2022

Here is the rule, whenever [RNG] is in the summary, it will trigger the description. However, it doesn't automate the line breaks.
image.png
Here is the result of this rule.
image.png

Stefan Salzl
Community Champion
March 16, 2022

Hi @Christopher Lia 

Could you try to add at the end of the line? (Tested this and that worked in my system)

image.png

Best
Stefan

Christopher Lia March 16, 2022

I'm still facing the same issues, even after copying your adjustments. When I create new tickets, it's the same as before, no line breaks :(
image.png

Stefan Salzl
Community Champion
March 17, 2022

😵😵 that looks really weird.

Unfortunately I´m running out of ideas :(

Suggest an answer

Log in or Sign up to answer