How can I put code segment in the same line as normal text in the description of a Jira issue? I can do it only in comments.
Hi everyone,
I found this thread and realized that the references here are to the new editor that is use in next-gen projects in Jira Cloud (and potentially in other classic projects with the Jira labs new issue view enabled). For Jira server or Jira Cloud using classic projects, the editor in use for both descriptions and comments is the same and won't allow this in-line code formatting on the same line.
That said, these next-gen projects are using this new Rich text editor right now only for comments. There is a request to implement this for description fields as well which would correct this over in JRACLOUD-74267. Right now there is not a means to do this within Jira Cloud today.
I would recommend watching that issue for updates and voting on this as it can help our teams better prioritize new features and fixes.
Cheers,
Andy
I also have this question. Comments allow for inline text using tick-marks, but tick marks don't create inline code in the description field.
Jira - be consistent!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
doesnt wiki formatting help? like this
{code:groovy}
def test = "test"
{code}
edit: make sure you are using proper renderer and its enabled (i believe it should be similar for cloud and server):
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I meant as in the same line.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for posting this - until now, I wasn't aware that you could specify the syntax highlighting language in Jira markup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, as this answer of mine explains:
You're attempting to utilize the now-deprecated inline monospace formatting.
It shall not render, despite being semantically valid, and no alternative exists.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.