It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to add a static text on a custom JIRA Screen

Komail Badami May 07, 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.

 

 

1 answer

1 accepted

0 votes
Answer accepted
Vishnukumar Vasudevan [ACP-JA] Community Leader May 08, 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 08, 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 [ACP-JA] Community Leader May 08, 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 08, 2017

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

Komail Badami May 08, 2017

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

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

Komail Badami May 08, 2017

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

Alexander Naumann Sep 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 ;-)

Stephen Letch Jan 10, 2019

Thanks @Alexander Naumann just what i needed.

Like # people like this

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,168 views 6 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you