How to add a static text on a custom JIRA Screen

Komail Badami May 7, 2017

I have a custom screen which shows up on a Workflow Transition. I want to display some information like a description for the screen, but I am not able to do so. 

The top heading on the screen which shows up is the Transition name. 

I tried adding a readonly text field on that screen with some content but that doesnt show up either.

 

 

3 answers

1 accepted

0 votes
Answer accepted
Vishnukumar Vasudevan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 8, 2017

Hi,

Nop, read-only custom fields will not be poped up in edit/transition screens.

Why don't you try adding message custom field ? 

Please refer the document here

 

Thanks, Vishnu. 

Komail Badami May 8, 2017

Thanks, I am able to add a message custom field after installing JIRA toolkit plugin. However for some reason I cant seem to get the markup working in the message , the markup shows up as text !

{panel:bgColor=#EAECFF} my message {panel}

I am using JIRA 6.3.9

 

Vishnukumar Vasudevan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 8, 2017

Can you check which Renderer is selected for this custom field ?  You would see this in field configuration. Should be set to "Wiki style renderer " .

Ref:- https://confluence.atlassian.com/adminjiraserver071/configuring-renderers-802592570.html

 

 

Komail Badami May 8, 2017

I checked in the field configuration but there was no option of changing the renderer for this.

Komail Badami May 8, 2017

<b>text</b> works... but the below code doesnt

{panel:bgColor=#EAECFF} text {panel} doesnt.  Maybe I am missing something  ?

Komail Badami May 8, 2017

Note: The Wiki Renderer Macros Plugin has all the modules enabled

Alexander Naumann September 25, 2017

Hi @Komail Badami,

i found the solution :-)

I had the same problem as you, the code below doesn't works.

{panel:bgColor=#EAECFF} text {panel}

Then I tested your example with <b>, it also works fine.
Then I thought and found the solution.

<b> is HTML code and not a wiki markup.

So i try the following:

<div style="background-color:powderblue;">

<h1>This is a heading</h1>
<p>This is a paragraph.</p>

</div>

 Thats fine and works for our system.

regards, Alex

 

P.S.: fun fact - if you replace "div" by "body", then for the moment the background of your complete JIRA is changed ;-)

Like e-Core Support likes this
Stephen Letch January 10, 2019

Thanks @Alexander Naumann just what i needed.

Like # people like this
1 vote
Aayush Mohanka May 14, 2020

How can we add static note in screen?

Corporation is not ok to have jira-toolkit so,message type custom field is not valid for me.

Is there another way to simply show static message on the top of screen?

1 vote
Shay Mandel April 27, 2020

This solution works for the Server version. Can you suggest a similar solution for the Cloud version?

Shay Mandel April 27, 2020

I found an awkward solution - added a select field with Yes/No options, and added the message in the description.

Like Ert Dredge likes this
Ivor April 18, 2023

found this little golden information 3 years later. I implemented it differently by a checkbox with many options for links to other documents and each informational point

Like Trine Ahlburg likes this

Suggest an answer

Log in or Sign up to answer