Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to display wiki markup in script for custom field text

Pradeep Kumar February 6, 2018

My Requirement is 

1.We need to add Blue font color for "Client Communication" custom field

2. We need to add Red font color for "Internal Communication" custom filed

3. We need to merge above two custom filed text into "All communication" tab

 

Please find below screen shot All Communication.pngClient_Blue.pngInternal_Red.png

1 answer

Suggest an answer

Log in or Sign up to answer
1 vote
Neta Elyakim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2018

Hey,

You need to change the field to handle with wiki markup ->go to "Field Configurations"-> cf (text type) ->Renderers->Active Renderer -> wiki markup and then you can use wiki markup.

Text Formatting Notation Help:

https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all

But if you are in server environment use can use html.

Pradeep Kumar February 12, 2018

We are not able to add font color by default. 

 

how can we add font color by default to customfield. 

Neta Elyakim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2018

Like I sad :

go to "Field Configurations"-> cf (text type) ->Renderers->Active Renderer -> wiki markup and then you can use wiki markup.

Work only for text field type

If you want to add default text with font -> in the cf -> Default value - > edit Default value ->Insert what you want in html format for example :

<p><span style="color: #ff0000; font-size: 14pt;">Hey,&nbsp;</span></p>
<p><span style="color: #3366ff;">This is HTML</span></p>

 

Pradeep Kumar February 12, 2018

Those 3 fields are text field type only and I have already updated renders type to Wiki markup.

Packialakshmi Subramanian March 27, 2018

Is it possible to set highlighted text (with warning - Search for an existing defect before adding a NEW defect") while creating JIRA issue (Issue Creation transition)?

Kindly advise.

TAGS
AUG Leaders

Atlassian Community Events