Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ColumnDetails
Page TitleThe name of a page.
Require approval byName of the person assigned to approval.
Pending TasksList form of all the Tasks on a page and other relevant information.
Last modifiedDate the page was last modified on. This date is associated with the Confluence page and not the Workflow.

...

Source Code

Expand
titleClick here for the source code...
Code Block
languagexml
<h2>Tasks assigned to me</h2>
      <ac:structured-macro ac:macro-id="5684a621-1edb-4d95-847e-850dcec6ca7a" ac:name="report-table" ac:schema-version="1">
        <ac:rich-text-body>
          <ac:structured-macro ac:macro-id="66a9a5ce-044b-49b3-8b09-6680cc1d26fe" ac:name="content-reporter" ac:schema-version="1">
            <ac:rich-text-body>
              <ac:structured-macro ac:macro-id="938998fe-579b-4fb8-b2e7-10ac23eb2614" ac:name="collection-filter" ac:schema-version="1">
                <ac:parameter ac:name="">workflow:tasks</ac:parameter>
                <ac:rich-text-body>
                  <p>
                    <ac:structured-macro ac:macro-id="ea692378-3ef2-458d-b857-861eb008b5ce" ac:name="text-filter" ac:schema-version="1">
                      <ac:parameter ac:name="contains">%global:current user%</ac:parameter>
                      <ac:parameter ac:name="">assignees</ac:parameter>
                    </ac:structured-macro>
                  </p>
                </ac:rich-text-body>
              </ac:structured-macro>
            </ac:rich-text-body>
          </ac:structured-macro>
          <ac:structured-macro ac:macro-id="142ce85f-d23c-4191-ae92-c467199f19b0" ac:name="report-column" ac:schema-version="1">
            <ac:parameter ac:name="title">Page Title</ac:parameter>
            <ac:rich-text-body>
              <p>
                <ac:structured-macro ac:macro-id="4d6c73e2-6b38-41cc-9225-0ed189a84878" ac:name="report-info" ac:schema-version="1">
                  <ac:parameter ac:name="link">true</ac:parameter>
                  <ac:parameter ac:name="">content:title</ac:parameter>
                </ac:structured-macro>
              </p>
            </ac:rich-text-body>
          </ac:structured-macro>
          <ac:structured-macro ac:macro-id="67598c1b-6293-4c4b-a543-dbe487d72559" ac:name="report-column" ac:schema-version="1">
            <ac:parameter ac:name="title">Require Approval by </ac:parameter>
            <ac:rich-text-body>
              <p>
                <ac:structured-macro ac:macro-id="d2376f8f-c2c9-4b87-b9be-40fc16eef17a" ac:name="report-on" ac:schema-version="1">
                  <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
                  <ac:parameter ac:name="">workflow:approvals</ac:parameter>
                  <ac:rich-text-body>
                    <p>
                      <ac:structured-macro ac:macro-id="8f1a2266-c8ca-4711-8afb-c7acbed2b40c" ac:name="report-info" ac:schema-version="1">
                        <ac:parameter ac:name="default">Not required</ac:parameter>
                        <ac:parameter ac:name="link">true</ac:parameter>
                        <ac:parameter ac:name="">assignees</ac:parameter>
                      </ac:structured-macro>
                    </p>
                  </ac:rich-text-body>
                </ac:structured-macro>
              </p>
            </ac:rich-text-body>
          </ac:structured-macro>
          <ac:structured-macro ac:macro-id="96c291f0-7f4d-4a82-8d55-ee5920758919" ac:name="report-column" ac:schema-version="1">
            <ac:parameter ac:name="title">Pending Tasks</ac:parameter>
            <ac:rich-text-body>
              <p>
                <ac:structured-macro ac:macro-id="0851bd0b-11c1-452c-81aa-9442837f476d" ac:name="report-on" ac:schema-version="1">
                  <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
                  <ac:parameter ac:name="">workflow:tasks</ac:parameter>
                  <ac:rich-text-body>
                    <ac:structured-macro ac:macro-id="144a49f0-b3f4-4b74-855a-ba9b37ce344f" ac:name="report-eval" ac:schema-version="1">
                      <ac:parameter ac:name="default">0</ac:parameter>
                      <ac:parameter ac:name="hidden">true</ac:parameter>
                      <ac:parameter ac:name="format">#</ac:parameter>
                      <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
                      <ac:parameter ac:name="">tasks-days-left</ac:parameter>
                      <ac:plain-text-body><![CDATA[(%duedate>date:milliseconds% - %global:current date>date:milliseconds%)/1000/60/60/24]]></ac:plain-text-body>
                    </ac:structured-macro>
                    <ul>
                      <li>
                        <strong>
                          <ac:structured-macro ac:macro-id="f1831474-6ffa-44d6-aeb2-158413012555" ac:name="report-info" ac:schema-version="1">
                            <ac:parameter ac:name="default">-</ac:parameter>
                            <ac:parameter ac:name="link">true</ac:parameter>
                            <ac:parameter ac:name="">name</ac:parameter>
                          </ac:structured-macro>
                        </strong>, assigned to <ac:structured-macro ac:macro-id="a6939df7-24b2-47fd-b598-6f5d9d1f126a" ac:name="report-info" ac:schema-version="1">
                          <ac:parameter ac:name="default">-</ac:parameter>
                          <ac:parameter ac:name="link">true</ac:parameter>
                          <ac:parameter ac:name="">assignees</ac:parameter>
                        </ac:structured-macro> <span>by</span>
                        <span> </span>
                        <ac:structured-macro ac:macro-id="999817b0-8883-4327-a49b-684b09ce1198" ac:name="report-info" ac:schema-version="1">
                          <ac:parameter ac:name="link">true</ac:parameter>
                          <ac:parameter ac:name="">user</ac:parameter>
                        </ac:structured-macro>
                        <span>,</span> due <ac:structured-macro ac:macro-id="44bc4631-2961-48da-9dfd-4996c81d61c6" ac:name="report-info" ac:schema-version="1">
                          <ac:parameter ac:name="default">-</ac:parameter>
                          <ac:parameter ac:name="format">dd MMM yyyy</ac:parameter>
                          <ac:parameter ac:name="">duedate</ac:parameter>
                        </ac:structured-macro> <span style="color: rgb(192,192,192);">(<ac:structured-macro ac:macro-id="85ba689a-4e64-4449-a917-77f625bf9c57" ac:name="report-info" ac:schema-version="1">
                            <ac:parameter ac:name="default">-</ac:parameter>
                            <ac:parameter ac:name="format">#</ac:parameter>
                            <ac:parameter ac:name="">variable:tasks-days-left</ac:parameter>
                          </ac:structured-macro> days left)</span>.</li>
                    </ul>
                  </ac:rich-text-body>
                </ac:structured-macro>
              </p>
            </ac:rich-text-body>
          </ac:structured-macro>
          <ac:structured-macro ac:macro-id="8e5748eb-f39f-4077-a840-c696d9f96ebc" ac:name="report-column" ac:schema-version="1">
            <ac:parameter ac:name="title">Last modified</ac:parameter>
            <ac:rich-text-body>
              <p>
                <ac:structured-macro ac:macro-id="9877e758-b633-4b7d-a95a-1ee7dc2641a6" ac:name="report-eval" ac:schema-version="1">
                  <ac:parameter ac:name="default">0</ac:parameter>
                  <ac:parameter ac:name="hidden">true</ac:parameter>
                  <ac:parameter ac:name="format">#</ac:parameter>
                  <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
                  <ac:parameter ac:name="">modification-days-ago</ac:parameter>
                  <ac:plain-text-body><![CDATA[(%global:current date>date:milliseconds% - %content:modification date>date:milliseconds%)/1000/60/60/24]]></ac:plain-text-body>
                </ac:structured-macro>
                <ac:structured-macro ac:macro-id="966e6404-ae1d-45f0-838a-78d1754acebb" ac:name="report-info" ac:schema-version="1">
                  <ac:parameter ac:name="format">dd MMM yyyy</ac:parameter>
                  <ac:parameter ac:name="">content:modification date</ac:parameter>
                </ac:structured-macro> <span style="color: rgb(192,192,192);">(<ac:structured-macro ac:macro-id="7f0f6f11-1057-4dd2-902e-4d50beb861a3" ac:name="report-info" ac:schema-version="1">
                    <ac:parameter ac:name="format">#</ac:parameter>
                    <ac:parameter ac:name="">variable:modification-days-ago</ac:parameter>
                  </ac:structured-macro> days ago)</span>.</p>
            </ac:rich-text-body>
          </ac:structured-macro>
        </ac:rich-text-body>
      </ac:structured-macro>