The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to configure JIRA to use JavaScript as the default language in {code} blocks?

Gordon Andersen
August 1, 2018

Hi,

Is it possible to set a default language for the code block in Jira server?

Like 

{code:C#}
gci ‘C:\inetpub\logs -Include ‘*.log’ -Recurse | ? LastWriteTime -LT (Get-Date).AddDays(-14) | Remove-Item
{code}

The default today is "Java" but we are a pure C# house and would like that to be default.

If not, should we raise a ticket for that feature? Can't seem to find one...

 

/G

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Payne
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 2, 2018

Here's a ticket regarding this topic - https://jira.atlassian.com/browse/JSWSERVER-16179 

0 votes
Gordon Andersen
August 2, 2018

@Payne

Super, it got my vote. A time saving feature.