Documentation says that Java is the default language (http://prntscr.com/6g88zy), but how can I change it to JavaScript (or anything else)?
I mean this {code} block: http://prntscr.com/6g88a8
You can add the language as a parameter when opening the code block, like {code:java}, {code:sql} etc.
Cheers!
Teilor
Not possible today, just changing the source code of JIRA. Although, there is a improvement request about this https://jira.atlassian.com/browse/JRA-29184
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://jira.atlassian.com/browse/JRASERVER-29184 was closed without fixing this. It's 2019 now and still it isn't possible to set a new default (or remove the "java one") for the code block language :-/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same for me here. We program in pyhton only and would realy like to be able to set the {code} option to python or otherwise to None
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's 2020, 5 years after this comment and after the request was made. It is still not possible.
It is already an utter annoyance to have to type the whole {code}{code} thing every time instead of a backtick and having to replace `java` with whatever language you use is not helping either.
I really wonder what you Atlassian guys had in mind when doing that? what's the target audience? Kindergartens? Because even for people who develop in Java there's still this annoying code block thingy instead of a simple backtick.
I work for an academic institution (SURFSara, Dutch supercomputing facilities) and we mostly use bash. We recently migrated from an inhouse solution based on TRAC and email and I am already regretting it (and I was one of the mayor backers of the change).
Solution: Of course, pay for a plugin, innit ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.
Get Certified! ✍️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.