Forums

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

Trouble getting document status icon into my user-created reporting macro

Adham Radwan
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!
March 2, 2023

Hi all

I currently use the "Universal Workflow for Approval" on my design documents for any feature release. (See photo of workflow below)

workflowapproval.png

I want to import the icon for each document status(see picture below) like this into my user macro:

documentstatusicon.png

I am currently able to import the document status in text format into my user-macro with the code below:


<ac:structured-macro ac:name="report-column" ac:schema-version="1">
          <ac:parameter ac:name="title">Document Status</ac:parameter>
          <ac:rich-text-body>
              <p>
                  <ac:structured-macro ac:name="report-info" ac:schema-version="1">
                      <ac:parameter ac:name="">state>name</ac:parameter>
                  </ac:structured-macro>
              </p>
          </ac:rich-text-body>
      </ac:structured-macro>
      <p class="auto-cursor-target"><br/></p>

 I want to add an icon for the following states:

1.Draft -> Grey

2.Review -> Yellow

3.Final Review -> Orange

4.Approved -> Green

 

How can I go about doing this?


This is how my document status column currently looks like:

DocumentStatusColumn.png 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events