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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

jira version progress bar in a confluence table?

For each version, JIRA creates a nice version page and progress bar for that version.  Is there a way to add that version progress bar to a Confluence table?

Here is an example of what I would like to do.  The progress bars below are just screen shots.  I would like them to be dynamically updated from Jira.

image2017-1-5 12:44:5.png

3 answers

I've also tried looking for this exact thing.

There isn't a way to do that out of the box and i have not been able to find an add-on that provides it.

That is too bad!  It would be such a great thing to have.

We would love an option for this, too. Quite frankly it's surprising it's not available.

I would even like to be able to create a progress bar down to an epic or an issue filter.

i created a user macro that does that using Confluence chart

kind of a workaround, but might help!

i am trying to see how to embed results from JIRA queries, at the moment, i have to enter those parameters by hand

it accepts three parameters, number of open items, items in progress and closed items and renders a small colored barmacro_config.JPG

progress_bar.JPG

here is the code

## @Param open:title=number of open topics|type=int|desc=enter a number of open items|required=true|default=0|multiple=false
## @Param progress:title=number of topics in progress|type=int|desc=enter a number of items in progress|required=true|default=0|multiple=false
## @Param closed:title=number of completed topics|type=int|desc=enter a number of closed items|required=true|default=0|multiple=false

## convert inputs to integers (standard is char for confluence)
#set ( $tempint = 0 )
#set ( $openint = $tempint.parseInt($paramopen))
#set ( $progressint = $openint + $tempint.parseInt($paramprogress))
#set ( $closedint = $progressint + $tempint.parseInt($paramclosed))

## create chart
<ac:structured-macro ac:name="chart">

<ac:parameter ac:name="borderColor">#ffffff</ac:parameter>
<ac:parameter ac:name="orientation">horizontal</ac:parameter>
<ac:parameter ac:name="stacked">true</ac:parameter>
<ac:parameter ac:name="legend">false</ac:parameter>
<ac:parameter ac:name="rangeAxisTickUnit">0</ac:parameter>
<ac:parameter ac:name="dataOrientation">vertical</ac:parameter>
<ac:parameter ac:name="type">xyStepArea</ac:parameter>
<ac:parameter ac:name="colors">#205081,#f6c342,#14892c</ac:parameter>
<ac:parameter ac:name="width">200</ac:parameter>
<ac:parameter ac:name="height">40</ac:parameter>

<ac:rich-text-body>
<table class="wrapped">
<colgroup>
<col style="width: 90.0px;"/>
<col style="width: 57.0px;"/>
<col style="width: 79.0px;"/>
<col style="width: 30.0px;"/>
</colgroup>
<tbody>
<tr>
<th colspan="1">y</th>
<th>Open</th>
<th>In Progress</th>
<th colspan="1">Closed</th>
</tr>
<tr>
<td colspan="1">1</td>
<td>$openint</td>
<td>$progressint </td>
<td colspan="1">$closedint</td>
</tr>
<tr>
<td colspan="1">6</td>
<td colspan="1">$openint</td>
<td colspan="1">$progressint</td>
<td colspan="1">$closedint</td>
</tr>
</tbody>
</table>
</ac:rich-text-body>

</ac:structured-macro>

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

415 views 23 8
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you