Forums

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

Code block set in description with ``` not working

Prabudas Varadarajan
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 21, 2021

Hi,

I am creating jira's using an automation script

Sending a piece of code in the description filed within ``` so that it will be displayed as a code block

Manually this is working perfectly fine, the moment ``` is typed, a code block is shown

Not sure if  I am missing anything, any suggestion to get it working

 

This is how description filed is set now

description = description + '```'

description = 'code block........'

description = description + '```'

1 answer

1 accepted

1 vote
Answer accepted
Prabudas Varadarajan
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 21, 2021

Got it working while passing within {code:java}....{code} while sending description from automation

Suggest an answer

Log in or Sign up to answer