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:

{color:gray}
Account (email))
----
{color}

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

 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.

 

Thanks,

 

Andrew

1 answer

This widget could not be displayed.

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.

Cheers,

Branden

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:

JIRA v1001.0.0-SNAPSHOT

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 Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,492 views 10 12
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