Formatting an Automated Comment with Markdown as you would manually

Brian Anderson April 26, 2023

Hi, Im trying to implement some automation for our JIRA Service management project which will automatically comment to a customer when a certain action is performed.

I have the automation part working , but would like to format the comment with tables, bold text, and info panels as I can do when making the comment manually via Atlassian Editor within the issue

I cant seem to find a way to automate the formatted comment, as it seems to only allow plain text , and although I can use smart values, the comment I am making doesn't need any Jira vales included so not really of value

Just wondering if it is actually possible to format automated comments ? 

 

2 answers

1 accepted

1 vote
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 27, 2023

Hi @Brian Anderson 

For tables you can try to write markup on the comment field. I've just tested it on my instance and if you write on the comment section:

||heading 1||heading 2||heading 3||
|col A1|col A2|col A3|
|col B1|col B2|col B3|

it will create a table

table.png

Brian Anderson April 27, 2023

Got tables working now too, i must have been typing it wrong, Thanks for the help

Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 27, 2023

@Brian Anderson good to know that!

1 vote
Brian Anderson April 27, 2023

Hmm. that's interesting I've just tried exactly what you have and it doesn't convert to a table,  it just stays as its typed ? This is directly in a comment reply to customer as you have. I can however i can type the commands on the linked page (table markdown doesnt appear on the linked page) 

I have also tried in the Automation and it seems the markdown commands listed on the linked page work for that as well, all except for the table. 

Time to do some more investigation into why the table isnt working. 

Thanks for the tip though, if I cant use a table I can adapt the comment to still serve its purpose 

Influential Eliot
Contributor
August 13, 2024

Did you ever find a resource for this information, @Brian Anderson ?


I would add to Brian's response (from a year ago) that the apparent lack of documentation on this is frustrating.

As there are not just tables, or bold/italic/underlined, formatting that we may wish to add.

I would imagine that Brian's requirement to use a table is born of not wanting automated comments to make reading the more important ones in a history is one of brevity. Getting the information front and centre, fast.

Because (for example) if one were to update linked issues with a comment from another, then one would not want the whole comment present (and if they did they could manually handle that). Thusly, such an example would be placed in an expand.

 

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events