Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

What is the panel macro for creating a tip and note panel in JIRA ?

Karlo Meniano September 15, 2021

Hi,

 

What is the panel macro to create a tip and a note panel in JIRA when you create the issue the first time?

For the info panel, its this

{panel:title=My title}
Some text with a title
{panel}

 

I tried these for tip and note and it doesnt work

{tip:title=This is my title}
This is a tip.
{tip}

{note:title=This is my title} This is a panel {note}

 

3 answers

1 vote
Rohit
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 10, 2022

I came across this while looking for a way to add a template with panels into the description field after creating an issue.

I have an automation rule set up that updates the description field(which uses the WikiRenderer) after an issue is created and I've been able to template different panels using the panel macro and specifying the 'bgColor' value like so -

{panel:title=My Note Panel|bgColor=#E8E7FF}
Some content
{panel}

This produces a 'Note' panel in the description field.

 

{panel:title=My warning panel|bgColor=#FFFBE7}
some content
{panel}

This produces a 'Warning' panel in the description field.

 

{panel:title=My success panel|bgColor=#E3FDEE}
some content
{panel}

This produces a 'Success' panel in the description field.

 

{panel:title=My error panel|bgColor=#FEEBE7}
some content
{panel}

This produces an 'Error' panel in the description field.

 

{panel:title=My info Panel}
Some content
{panel}

or

{panel:title=My info panel|bgColor=#DCEAFF}
some content
{panel}

These produce an 'Info' panel(the default panel I guess) in the description field.

 

See the example below:

Screenshot 2022-08-10 at 21.48.26.png

 

Hope this helps!

Meir Lipskier December 15, 2022

Hey @Rohit

I have this implemented on my end as well and it seems like a recent JIRA Cloud update has broken the Panel colors using the syntax: {panel:bgColor=#eae6ff} 

I'm curious if this is still working for you and is there anything I'm missing here as to why this:Screenshot 2022-12-16 115433.png


shows up like this:

Screenshot 2022-12-16 115609.png

Like # people like this
0 votes
Dane Kantner
Contributor
February 19, 2024

is there a way to create these WITHOUT the icon? icon=false does not seem to work anymore?

0 votes
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 16, 2021

Hello @Karlo Meniano ,

Check out the following documentation for all the available quick text formatting options in the new issue view:

Currently, there is not a dedicated keyboard function for the tip or info panels, so instead, you can use the Quick insert hotkey "/" and start typing either "success", "note", "error" "warning" or "info" to auto-populate the formatted panel objects.  As an example:

Screen Shot 2021-09-16 at 4.35.55 PM.png

Or you can type "/panel" to see the list of panel options to select the desired option from:

Screen Shot 2021-09-16 at 4.38.41 PM.png

Regards,
Earl

Karlo Meniano September 17, 2021

This doesn't work on writing descriptions the first time an issue is created 

Capture.JPG

Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 21, 2021

Hello @Karlo Meniano ,

Thanks for the screenshot, and I see the issue.  On the Create issue screen the New issue view has not fully rolled out but is in the works set to roll out fully,  As covered in the following feature request we are currently in Phase-I roll out of the Beta:

With additional info on Phase-II covered in the associated blog post linked in the feature above:

When will Phase-II Beta of the modernized Issue Create experience happen?

Our current estimates to roll this feature out to all users in December 2021. However, due to COVID, our timelines continue to be impacted. We are working to minimize delays and will share updates with our customers as soon as new information is available.

So Currently the panel macro formatting you noted is the only option on the issue create screen, and you need to edit the issue after creating it by selecting the issue description from the issue view screen to manually modify to the panel to one of the new panels available in the new issue view

The Create issue screen currently uses the formating noted here:

  • https://<YOUR_INSTANCE_BASE_URL>.atlassian.net/secure/WikiRendererHelpAction.jspa?section=texteffects

Post creation of the issue the text fields use the formatting noted previously and covered in more detail here:

Sorry for the confusion.

Regards,
Earl

Suggest an answer

Log in or Sign up to answer