How can I style default text in a multi-line text field?

I have created a custom field - a multi-line text input. 

I have set the renderer to be Wiki-style, and added default content with wiki markup:

Account (email))

{color: grey}
Platform & Version (web/iOS 3.05.06)

 However, when I create a new issue, this default text is loaded as static text rather than compiled html. (below screenshot)Screen Shot 2017-08-07 at 2.46.00 PM.png

Once I enter text into that field and select save though, it renders with the correct styling. (below screenshot)
Screen Shot 2017-08-07 at 2.45.44 PM.pngf

Is there any way to make it render as it should when it first loads? Forcing users to find where to input  text around curly braces, etc is a non-starter.





1 answer

0 votes

Hi Andrew,

I was unable to reproduce this in JIRA 7.4.1.  I used the code you posted and here are my screenshots:

Screen Shot 2017-08-08 at 2.58.26 PM.pngScreen Shot 2017-08-08 at 2.58.31 PM.png

By default I was on the Visual tab but switching to the Text tab allowed me to see the code.  Is the behavior that the tab is set to Text by default or does it show up like that when it's set to Visual as well?

One thing I have noticed is that if you go to create an issue have clicked on it will be on the same tab when you create another issue.  Let me know if that helps.



Thanks Branden, but I don't see tabs for "Visual" or "Text". Is there a way to have the default behavior of a wiki-render field be Visual?

I'm not 100% on our version, but under 'About JIRA' I see:


And for addons:

JIRA Service Desk Application v3.3.0-OD-1000.1871.0


Attached is my view when creating a new bug, and the item as listed in "custom fields"


Thanks,Screen Shot 2017-08-14 at 4.11.58 PM.pngScreen Shot 2017-08-14 at 4.17.13 PM.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 05, 2018 in Jira Software

Jack Graves: Real Ale enthusiast with a knack for Jira Software implementation

@Jack Graves [AC] first caught our eye with his incredible breakdown of what, in his opinion, can make or break a Jira software implementation. (Read his thoughts on this thread)! In this follow...

96,855 views 4 14
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