This page last changed on May 11, 2005 by mike@atlassian.com.

Jira Portlet Macro

Usage: jiraportlet:url=
Description: Display a JIRA dashboard portlet in Confluence
Input: url=
http://jira.atlassian.com/secure/RunPortlet.jspa?
portletKey=com.atlassian.jira.plugin.system.portlets:projectstats&
description=Stats:%20Confluence%20(Versions)&projectid=10470&
statistictype=fixfor&template=/portlets/dashboard/projectstats.jsp
Output: Nice looking portlet in a Confluence page
Bundled with Confluence?: yes

Example

Released 1.4.4 1
Released 2.2.2 1
Released 2.3 1
Unreleased 2.4.4 11
Unreleased 2.4.x 100
   4%
Unreleased 2.5 5
Unreleased Buffy 6
Unscheduled 2626
   95%

How to find the URL for a JIRA Portlet

Confluence needs a URL in order to retrieve JIRA portlets.

If your JIRA instance requires you to log in, you must add &os_username=username&os_password=password to the end of the URL (substituting a valid JIRA username and password) so that Confluence can log in to retrieve the portlet. This is a temporary measure until we get Confluence and JIRA cross-authentication working more effectively.
  1. Add the portlet you wish to include in Confluence to your JIRA dashboard (Once you have copied the portlet's URL into Confluence, you will be able to remove from your JIRA dashboard)

  2. Configure your dashboard



  3. Locate the portlet's direct link in the top-left corner



  4. Right-click on the link to copy it to your clipboard, and paste it into the {jiraportlet} macro

    (Note, the command for copying a link to the clipboard may differ in your browser)

Work great , but some problem of formating , i tried a simple project activity portlet and have text splitted on two line ...

Posted by greg henry at Sep 16, 2005 09:23
Document generated by Confluence on Mar 22, 2007 20:54