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

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

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Apr 30, 2018 in Marketplace Apps

Why moving to Confluence Data Center is only a job half-done

Confluence Data Center is a deployment option that was designed for performance at scale. In other words, Confluence will handle increased traffic much reliably in a clustered environment and yo...

249 views 0 6
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