getting message that says only actionscript, html, java, javascript, non, sql, xhtml, and xml are the only languages supported but site says differetnly.

Trying to use the code Syntax highlighter for Jira but when I try, as per your documentation, to use c+ or cp I get he mentioned.

I've tried stopping/strating Jira, reindexing, etc. but it just will not work for c+ or cp and possible others.

This is onl Jira

3 answers

1 accepted

0 votes
Accepted answer

I was overlooking the setup step of disabling the built in Code macro.

0 votes

What version of the plugin and Jira are you using?

Sorry meant to include that. Jira 5.2 and 1.6.0 of the plugin.

Ah, that rules out the problem I had with it then. Sorry I can't be of help directly.

Have you had a look at the log file to see what it says when you use {code:cpp} in your field? Can you confirm it works for others (java for example)

Yes the Java one does work.

Nothing showing the logs right now. What area would I want to enchance logging for to try an pick it up? Sorry I'm just starting to Eval Jira so it's all new to me.

Thanks.

I don't think you need to increase logging, if you've found that! Difficult to say where it's coming from, but it's a perfect thing to pass to the developer(s) of the plugin.

played with it a bit and found I get this error:

/secure/Search!Jql.jspa [velocity] Left side ($totalSize) of '<' operation has null value at templates/plugins/jira/macros.vm[line 8, column 18]

Smacking my head and putting on my Dumba** hat, I was overlooking the setup step of disabling the built in Code macro.

Sorry for wasting your time but thanks for your help.

Glad you found it - it's certainly no waste of time, as I've learned something from it too. At the very least, I should remember to ask about the built-in one next time :-)

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,686 views 3 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you