Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JIRA behavior pre-populated description with table

Szymon F September 17, 2019

I have a prepopulated description in JIRA issue with the table as follows:

 

def desc = getFieldById("description")

def defaultValue = """h1. Sample Table Template:

||X Y Z||Q A Z)||

||Test1 Row|?|?|

||Test2 Row|?|?|

||Test3 Row|?|?|""".replaceAll(/ /,'')

if (!underlyingIssue?.description) {

desc.setFormValue(defaultValue)

}

Can I have the table with the space between words in rows and columns?

 

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
1 vote
Answer accepted
Szymon F September 23, 2019

Deleting 

.replaceAll(/ /,'')

solves the problem

TAGS
AUG Leaders

Atlassian Community Events