Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,537
Community Members
 
Community Events
168
Community Groups

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

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}

 

2 answers

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!

0 votes

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

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

Capture.JPG

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
TAGS

Atlassian Community Events