Forums

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

Code Blocks in Jira 7.3.1

Roja Gurram
Contributor
June 16, 2020

Hi All,

Is it possible to use code blocks in Jira?

Please leave your comments!

 

1 answer

1 accepted

0 votes
Answer accepted
Nir Haimov
Community Champion
June 16, 2020

Hi,

Can you explain more what you mean?

You mean to write a code block inside fields like description?
Like this:

public Response jsonData() throws Exception {
....
return ...
}
Roja Gurram
Contributor
June 16, 2020

Hi Nir,

You mean to write a code block inside fields like description? - Yes, i thought in description field.

But, User had written a code in "Comment" section. It will allow in comment section ? And user has complained that it doesn't seem to work in my JIRA. Please note right now this field is using a plain text not a WIKI TEXT RENDERER. 

please suggest me on this.

Roja Gurram
Contributor
June 16, 2020

Hi Nir,

Any update on this pls ?

Nir Haimov
Community Champion
June 16, 2020

Hi @Roja Gurram 

In the ticket comments you can also add code block, it's built in with Jira.

And every multi text customfield can be converted from plain text to wiki text render and than also have code block.

2020-06-16_14-09-13.png

Roja Gurram
Contributor
June 16, 2020

Hi Nir,

Fantastic, Thank you very much for the quick response.

I will check and let you know the update.

Roja Gurram
Contributor
June 17, 2020

Hi Nir,

The solution you have shared is worked good. Thanks.

Suggest an answer

Log in or Sign up to answer