Inquiring about whether it's possible to use some form of formatting to provide a status lozenge via an automation comment on an issue in Jira. The editor for comments in Jira's automations only provides a plaintext interface.
Example:
The text formatting documentation does not seem to provide a method to do this. Old legacy documentation of a status macro exists, but does not appear to work in the new editor, which is to be expected given its legacy. Is there some method of doing this in the new editor?
Thanks!
Hi Nicholas,
Thanks for using Atlassian Community!
We cannot have the status lozenge, as of now, using the automation rules. Capability to enable the rich text compatibility for A4J is being tracked under the below feature requests :
Thanks,
Rahul
Hi @Nicholas Schneider -- Welcome to the Atlassian Community!
I believe that is possible, and you will need to experiment a bit to make it work.
I recently created a monthly calendar in an issue description using such formatting with an automation rule. The way I found the correct formatting, panel/macro codes, and logic to make it work was:
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy -- thanks for the suggestion!
After doing so, I found this to be the internal representation of the status in the CSV:
{color:#00B8D9}*[ TEST STATUS ]*{color}
When passed exactly like that from the Jira automation comment, instead of showing up as a status it simply shows up as the bold text "[ TEST STATUS ]" with a color.
How it should show (from the test issue):
How it shows when attempting to use the plaintext format:
I've also tested several variants of the formatting to see if any of them would prompt it to use a status:
{color:#00B8D9}*[ TEST STATUS ]*{color}
{color:#00B8D9}[ TEST STATUS ]{color}
{color:#00B8D9}*[TEST STATUS]*{color}
{color:#00B8D9}[TEST STATUS]{color}
[ TEST STATUS ]
*[ TEST STATUS ]*
[TEST STATUS]
*[TEST STATUS]*
Each of these again resulted in some odd output:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, and short version answer:
Longer answer:
I was able to reproduce your results, and when I copy/paste (or directly enter) a status macro in a comment it works as expected with the lozenge.
I also tried to get the information using the REST API (rather than the export) and got the same results.
The documentation for the text formatting does not show the status macro feature: https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all
So my hypotheses are:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.