Forums

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

Default table in story description with numbered column using automation

Lloyd Parker
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!
February 22, 2022

I am trying to edit the description in our test case issue type with the following table

||*Description*||*Expected Result*||*Actual Result*||
| | | |
| | | |

The current automation edits the description field upon test creation if the description field is left blank. This does work and creates a 3x3 table with the headers in bold.

However I cannot figure out how to set the numbered column option by default. Is it possible to generate the same table using Advance Field Editing? I have seen some examples of JSON tables that were used with the Jira Rest API, but I can't get something simple to work as editing the description field with the following: edit: I got the description field update to work using the following:

{"fields": {"description" : "a new description"}}

All suggestions welcome, thanks!

2 answers

1 vote
Stephan Mommsen
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

I will join in on this question.

My current layout is this:

Test Case 1 /
{panel:title=Preconditions|bgColor=#deebff}
-
{panel}

||*Test*||*Test Data*||*Expected Result*||*Actual Result*||
| | | | |
| | | | |
| | | | |

 

and i also search for a solution to:

1. Have automated numbering of the table.

2. Underlined "Preconditions".

3. Able to find other formats. I found those randomly in the internet. I didn't find any libary listing all these formats.

Thanks :) 

Stephan Mommsen
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!
May 4, 2022

*push

0 votes
Dardan Arifaj
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!
September 11, 2024

I have the same question

Suggest an answer

Log in or Sign up to answer