Forums

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

How to create a html table without border in jira script runner -> Script Fragments -> Web-panel

nallu August 23, 2018

I want to create a web panel which should display the data in a tabular format. But border shouldn't be appeared. It should display as below,

Release       : 2018-1

Fix-version : 2018.3

Test             : Testing

 

Here is the sample script that i used, 

def content = '''
<table>
<tr>
<td>Release : ${release}</td>
</tr>
<tr>
<td>Fix-Version : ${version}</td>
</tr>
<tr>
<td>Test : test</td>
</tr>
</table>'''


writer.write(content);

 But, It looks like, By default jira would add border even though we don't specific it.

 

Does anyone know how to create a table without border.

1 answer

0 votes
Nir Haimov
Community Champion
August 23, 2018

Hi @nallu

I tried your code, and seems like i get it exactly as you want (without border)image.png

So i can't reproduce your case, (maybe this changed in another versions)

But maybe you should try to add styling and say "border: none !important" or something like that, that will force it to be without border

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events