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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Status macro in Markup for Automation not working

Edited
Daniel Flores
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!
Oct 26, 2023


I am trying to set a default description field content or template for an automated rule.

I want to add a status macro there but for some reason the macro markup is not working, I am only getting the literal text in the Description field 

{status:colour=Yellow|title=post|subtle=false}
image.png
image.png


Other macros like Panel are working fine. 
___________________

 



I am following these documentation links:

https://confluence.atlassian.com/doc/status-macro-223222355.html

https://www.cwiki.us/display/CONF54/Confluence+Wiki+Markup+for+Macros#ConfluenceWikiMarkupforMacros-Statusmacro


Does someone know what is happening or how can I achieve what I am looking for?


Thanks in advance. 


1 answer

0 votes
Bill Sheboy
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.
Oct 26, 2023

Hi @Daniel Flores -- Welcome to the Atlassian Community!

First thing, you note using automation rules to set a default / template for a field.  Automation rules run (i.e. trigger) after something has happened, such as issue create.  They cannot be used to create a field template.  To do that, please change your instance field defaults (or project for a team-managed project), or use a marketplace addon.

Next, in my experience not all of the possible markup for a field like Description can be set by an automation rule.  There is apparently more stored with a field than automation rules can change.  I have even tried this by calling the REST API functions and was unable to reproduce all of the markup.

A similar issue is trying to preserve markup when copying fields, as described in this open defect https://jira.atlassian.com/browse/AUTO-97 and this suggestion for the expand macro https://jira.atlassian.com/browse/JRACLOUD-81703

Kind regards,
Bill

Daniel Flores
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!
Oct 27, 2023

Hi Bill,

I really would like to know more about these "instance field defaults" since I am not aware of another way to set some default values inside the Description field.

In many places, I've seen the same workaround: using automation.  For example:

https://community.atlassian.com/t5/Jira-Software-questions/Is-it-possible-to-set-a-default-value-for-the-description-field/qaq-p/1739686

Regards,

Bill Sheboy
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.
Oct 27, 2023

In that post example, the Description "template" is added after the issue is created using an automation rule.  And so the flow is probably: create an issue without a Description, wait a second or two, and then immediately edit the issue with the updated template.

Team-managed projects allow setting a default value for a field like Description.

Sorry, I misspoke using that term, instance default.  For company-managed projects, I believe the two work-arounds are to: purchase marketplace addons or use a "shadow field" based on custom fields and workflow changes, as described here: https://community.atlassian.com/t5/Jira-questions/Default-text-for-Description-field-on-Jira-Cloud/qaq-p/785597

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events