Search the Confluence 4.1.x Documentation:

Index
Downloads (PDF, HTML & XML formats)
Other versions

This documentation relates to Confluence 4.1.x
If you are using an earlier version, please view the previous versions of the Confluence documentation and select the relevant version.
Skip to end of metadata
Go to start of metadata

JIRA is the issue tracking and project management system supplied by Atlassian. The JIRA Issues macro allows you to display a list of issues from a JIRA site on a Confluence page.

You can list publicly accessible issues from any JIRA site, as well as issues restricted to your user account on a JIRA site, assuming:

  • You are logged in to both the JIRA and Confluence sites, and
  • Your usernames on both of these sites match.

(tick) You can also create, find and insert JIRA issues directly within text on a Confluence page or blog post. For more information, refer to Inserting JIRA Issues.

Screenshot: Example of JIRA issues shown on a Confluence page

Using the JIRA Issues Macro

To add the JIRA Issues macro to a page:

  1. In the Confluence editor, choose Insert > Other Macros.
  2. Find and select the required macro.

Refer to the instructions below for details on obtaining the URL of the XML view of a search. An example URL is:

http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+CONF+AND+%28summary+%7E+jiraissues+OR+description+%7E+jiraissues+OR+comment+%7E+jiraissues%29&tempMax=10

Displaying a List of JIRA Issues from any Accessible JIRA Site

Step 1 — Obtain the URL of the Issue Filter

  1. Log in to your JIRA system.
  2. Go to the 'Issues' screen and create a new filter. Do not modify an existing filter.
  3. Set up your search parameters and use 'View' to check the issues returned.
  4. Once the filter is finished, go to the Filter's 'View' tab/section in the top-left area of the JIRA interface.
  5. Copy the XML link. To do this, follow the appropriate step below:
    • If you are using JIRA 4.0.x or later, choose Views, right-click on XML, and choose Copy Link Location.

  • If you are using JIRA 3.13.x or earlier, locate the 'Current View' links section, right-click on XML, and choose Copy Link Location.

Step 2 — Embed the Issue Filter URL onto your Confluence Page

  1. Log in to your Confluence system.
  2. Edit the page where you wish to display the list of JIRA issues.
  3. Add the JIRA Issues macro to the page, as described above.

  4. Edit the macro, and paste the JIRA filter URL from your clipboard into the URL box.
  5. Customise the macro output using the optional parameters. See below.
  6. Save the Confluence page.

Parameters

When editing, you can click on the macro placeholder and choose Edit to display the parameters for this macro in the Macro Browser.

Parameters are options that you can set for Confluence macros to control the content or format of the macro output. The table below lists parameters for this macro that can be set in the Macro Browser.

The JIRA Issues macro allows the following parameters:

Parameter

Default

Description

URL

none

The URL of the XML view of your selected issues in the JIRA Issue Navigator.
Note: If the URL in the URL parameter does not contain a tempMax argument, then the value of tempMax will default to 500. For JIRA 3.12 or earlier, the JIRA Issues macro will return a maximum of 500 issues. For JIRA 3.13 or later, the JIRA Issues macro will return a maximum of 500 issues per page.

JIRA Field Columns to Display

By default, the following columns are shown:

  • type
  • key
  • summary
  • assignee
  • reporter
  • priority
  • status
  • resolution
  • created
  • updated
  • due

A list of JIRA column names, separated by semi-colons (;). Example columns are: key, summary, type, created, fixversion, updated, due, assignee, reporter, priority, status and resolution. You can include any columns recognised by your JIRA site, including custom columns. See the JIRA documentation for a list of names.

Display Total Numbers Only

false

When selected, the issue list will only show the number of issues in JIRA. The count will be linked to your JIRA site.

Cache

on

  • on – the macro maintains a cache of the issues which result from the JIRA query.
  • off – the relevant part of the cache is cleared each time the macro is reloaded.

Anonymous Retrieval

false

When selected, JIRA will return only the issues which allow unrestricted viewing i.e. the issues which are visible to anonymous viewers, as determined by JIRA's viewing restrictions. Otherwise, the results depend on how your administrator has configured the communication between JIRA and Confluence. By default, Confluence will show only the JIRA issues which the user is authorised to view. See more details below.

Width

100%

The width of the table displaying the JIRA issues. Can be indicated either as a percentage (%) or in pixels (px).

Height (pixel value only)

480

The height in pixels of the table displaying the JIRA issues.
Note that this height specification is ignored in the following situations:

  • If you set the Render Mode parameter (see below) to static.
  • When the JIRA issues are displayed in a PDF or Word document, in an email message or in an RSS feed.

Title

JIRA Issues

You can customise the title text at the top of the JIRA issues table with this parameter. For instance, setting the title to 'Bugs-to-fix' will replace the default 'JIRA Issues' text. This can help provide more context to the list of issues displayed.

Render Mode

static – when the JIRA issues are displayed in a PDF or Word document, in an email message or in an RSS feed.

dynamic – for all other formats.

  • dynamic– dynamic issue display with the following features:
    • Click the column headers to sort the output.
    • Drag and drop the columns into a different order.
    • Temporarily remove a column from the display.
    • View a page of issues at a time, for faster response times. 
  • static – disables the dynamic display features.

 

Displaying Issues which have Restricted Viewing

Maybe your JIRA instance is not visible to anonymous visitors — everyone has to log in before they can see JIRA issues. Or maybe some of the JIRA issues are restricted to viewing by certain users only. This section explains how to handle JIRA issues that have restricted viewing.

Using Confluence-to-JIRA Trusted Communication (Recommended)

For Confluence 2.7.0 and later and JIRA 3.12 and later, your administrator can set up trusted communication between Confluence and JIRA. The entire process is described in the Confluence Administrator's Guide. Provided that your administrator has set up trusted communication, you don't need to add any extra parameters. Confluence and JIRA will work out the security between them, ensuring that the user will see only the issues they are authorised to see. Read the section below if you want more detail.

Remove the username and password from your macro markup code

Prior to Confluence 2.7, you needed to include a username and password in the macro markup code if you wanted to display JIRA issues which had restricted viewing. Once your administrator has set up trusted communication between Confluence and JIRA, you no longer need to include a username and password in the markup code for your JIRA macros.

The following options are available for determining the issues which will be retrieved from JIRA and displayed on the Confluence page:

What you want to do

Macro parameter

URL parameter

Comments

Display the JIRA issues which the logged-in user is authorised to see. And if the user is not logged in, display only issues which allow unrestricted viewing.

 

 

Do not specify any authentication parameters. In this case, the behaviour depends on the way your administrator has set up trusted communication between JIRA and Confluence. Here is a summary of the behaviour. If trusted communication is enabled, the authorisation will work seamlessly. When a logged-in user views your page, they will see only the JIRA issues they are allowed to see. And if they are not logged in, they will see only the issues which allow unrestricted viewing. If trusted communication is disabled, the Confluence page will show only the JIRA issues which allow unrestricted viewing.

Ensure that Confluence will display only the JIRA issues which allow unrestricted viewing.

anonymous

 

Regardless of who the user is (logged in or not), the Confluence page will show only anonymously-visible issues. Confluence will not attempt to set up a trusted communication link with JIRA in this case.

Use a pre-determined username and password to access the JIRA issues.

 

&os_username=MYNAME&os_password=MYPASSWORD

Not recommended. Prior to Confluence 2.7, this was the only way of displaying issues with restricted viewing. For Confluence 2.7 and later, this method will still work. Confluence will not attempt to set up a trusted communication link with JIRA in this case.

Troubleshooting

HTTPS

The JIRA Issues macro can access a JIRA instance running under SSL as long as the Confluence server is set to accept the JIRA SSL certificate. Refer to the Confluence Knowledge Base article for more information about problems connecting to SSL services.

And see also:

Related Topics

Inserting JIRA Issues
JIRA Portlet Macro
Working with Macros

In the Administrator's Guide:

Take me back to the Confluence User's Guide.

  1. May 27, 2008

    Anonymous

    The 2.4.1 version of the plugin (Confluence 2.7.2?) looks like it nearly supports a template parameter,where template=xp should use the jiraissues-xp.vm template instead of jiraissues.vm. Anyone else got this working?   

    ~Matt

    1. Jun 02, 2008

      Hi Matt,

      Have you try this on older version of Confluence such as 2.5.x/2.6.x? If the problem still persists, I would suggest you to raise a support issue at:

      From there, we will help to investigate this issue further.

      Cheers,
      Tony

      1. Jun 12, 2008

        Tony, I suspect that the parameter "template" is not supported since it is not documented on this page. Is that right?

        1. Jun 16, 2008

          Hi Matt,

          It appears that the parameter is only applicable to an anonymously accessible JIRA instance. For example, I have tried the following markup and it works on my side:

          {jiraissues:url=http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?&pid=10470&fixfor=13414&resolution=-1&sorter/field=issuekey&sorter/order=DESC&tempMax=200|anonymous=true|template=xp}
          

          Note that it only work if you also include the "anonymous=true" option.
          If the above is not the case, I would suggest you to raise a support request and we will help to investigate this issue further.

          Cheers,
          Tony

          1. Jun 04, 2010

            Anonymous

            How do you make a JIRA instance anonymously accessible? I've checked the global permissions and the permission schemes and see no option for anonymous access for JIRA.

            Thanks in advance,

            Ed

  2. May 29, 2008

    Where can I find the source code for the V2.7 of the JIRA macros library?

    I cannot find it in the source for V2.8 of Confluence

    1. Jun 03, 2008

      Hi Daniel,

      Feel free to check out its source code in the following repository:

      For JIRA macro version 2.7 specifically, you may want to try the following direct link:

      Cheers,
      Tony

      1. Aug 14, 2011

        Anonymous

        These links 404.

  3. Nov 25, 2008

    Trackbacks in JIRA does not detect the Confluence pages that use this {jiraissues} macro. We have to make an explicit reference to the JIRA issue URL from the Confluence page to make this work.

    1. Jun 10, 2008

      Hi Ramkumar,

      I would suggest you to raise a support ticket at https://support.atlassian.com for further investigation to this issue. Please provide the wiki markup used for the problematic page. Thanks.

      Regards,
      MG

      1. Jun 11, 2008

        I have raised the issue: https://support.atlassian.com/browse/CSP-19821

        An explicit URL reference from Confluence generate a Trackback link in JIRA but the same does not happen thru {jiraissues} macro.

  4. Jun 13, 2008

    I expect the problem's due to a saved filter in JIRA that's private, and the lack of authentication credentials passing between Confluence 2.7 and your JIRA.

    It may be that you only need to go into JIRA, manage your filters, and mark this particular one as shared (or global or whatever). Else, you need to look up the method of passing credentials in your jiraissues macro call – but you could instead try Setting Up Trusted Communication between JIRA and Confluence with an updated Confluence.

    Cheers,
    -jd.

  5. Jun 13, 2008

    I posted a possible fix for the broken "Atlassian JIRA" link in the jiraissues macro (CONF-10564, among others), since JIRA 3.7-ish. Hopefully something like this will finally get into the release.

    Cheers,
    -jd.

  6. Sep 20, 2008

    Quick question. The jiraissues macro does seem to work well now that we have trusted communications set up (Jira Enterprise Version 3.12.1 Build Number 299, confluence 2.8 enterprise); however not all the icons show up properly for the field type and priority. Looking at the html I see for the issues that it does show up for the hmtl looks like: src="https:ourservice/jira/images/icons/issue_subtask.gif; whereas for the ones that don't show up we have <img src="$icons.get( $item.getChild('type').getValue() )".

    Note that on Safari I see a broken image link. On Firefox I get the type or priority text as a hyperlink.

    Thoughts on what's going on? I suspect that the type and priority that aren't showing up are ones we created in JIRA, but we're using the default icons w/in JIRA so I'm curious about what we need to do to have the icons appear.
    thanks

    1. Sep 22, 2008

      Hi Michael,

      Could you please check that the image's URL of the same issue type does match each other in Confluence and JIRA? You might also want to make sure that the icon mappings are correct, if you have any custom issue types:

      If that does not help, I would suggest you to raise a support request at http://support.atlassian.com. Thanks.

      Cheers,
      Azwandi

  7. Sep 24, 2008

    G'day,

    I was just wondering which version of Jira Trusted Applications became available in? We are running Jira 3.11 and I'm unable it see the Trusted Applications link in the Administrator console.

    Cheers,

    John R

    1. Sep 24, 2008

      trusted applications is available in jira starting at v3.12 (and confluence v2.7)

      1. Sep 24, 2008

        Thanks, Cheryl

  8. Nov 25, 2008

    Anonymous

    Hi, we are currently encountering issues when displaying {jiraissues}
     
     
    We have done various things to remedy this:
    1. Ensured user is logged in on both wiki and jira and is using the same userid
    2. Increased the Request timeout in Jira and Wiki (2000000)
    3. Ensured the IP Address Matches are correct on both Jira and Wiki Trusted App setup.
    4. We've checked the logs (catalina.out/access_log.2008-10-08) and we dont see any weird exceptions.
    5. We've tried flushing cache 
    But the error is still there. The most recent activity prior to this happening was we restarted our server. 
    Pls advice.

    1. Oct 08, 2008

      this error may be caused by incorrect macro parameter usage (for example, putting something other than the url param in first spot and not marking it with "columns=" or whatever). not sure what was happening here but i guess you got it fixed because you give a new error below. (new errors mean progress, yay! (tongue))

  9. Oct 08, 2008

    2t

    Sorry for the duplicate...
    Hi, we are currently encountering issues when displaying jiraissues macro.

    We are using Jira3.12.13 and Confluence2.9

    "jiraissues: Could not download[http://jira.lawson.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?type=3&pid=10100&sorter/field=issuekey&sorter/order=ASC&sorter/field=status&sorter/order=DESC&tempMax=10] : caused by : Read timed out" 
     
    We have done various things to remedy this:
    1. Ensured user is logged in on both wiki and jira and is using the same userid
    2. Increased the Request timeout in Jira and Wiki (2000000)
    3. Ensured the IP Address Matches are correct on both Jira and Wiki Trusted App setup.
    4. We've checked the logs (catalina.out/access_log.2008-10-08) and we dont see any weird exceptions.
    5. We've tried flushing cache 
    But the error is still there. The most recent activity prior to this happening was we restarted our server. 
    Pls advice.

    1. Sep 17, 2009

      Hi 2t,

      do you have a solution for your problem? We are a facing a similar error with the jiraissues macro and an own pluging using trusted application.

      Regards

      Boris

    2. Nov 20, 2011

      Anonymous

      Free knowledge like this doesn't just help, it promote dmeocrcay. Thank you.
    3. Nov 21, 2011

      Anonymous

  10. Oct 10, 2008

    We're running the jiraissue macro in Confluence 2.9 against Jira 3.11. If we link to an XML filter which returns no records in Jira, the macro produces the following output:

     jiraissues: Error on line 31 of document http://www.w3.org/TR/html4/loose.dtd: The declaration for the entity "HTML.Version" must end with '>'.

    Has anyone else seen this problem? Is it a problem with the macro, or the way we're using it?

    Cheers,

    John R.

    1. Oct 10, 2008

      Hi again John~

      This error occurs when the macro has trouble parsing the XML returned from JIRA. This can occur if the url given to the macro points to something it shouldn't, but it could also mean the macro is encountering valid XML that it isn't expecting for some reason. We should probably have better handling of these cases...

      Two common ways for this to occur:

      • JIRA is down - the retrieved info could be an html error page that can't be parsed as xml because it isn't
      • url is not the XML view url

      If the above cases aren't the problem, please create an issue about this, including your JIRA Macros Plugin version and ideally the macro syntax you are using and the XML file that is returned by JIRA when you visit the url given in the url parameter.

      ~Cheryl

  11. Nov 25, 2008

    Anonymous

    Hi do some one knows if the jira issue macro supports size option?

    {jiraissues:url and params|width=800|height=800}

    I entered width and height parameters. The height parameter seems to word, but the width has no impact to the display of the list in a confluence wiki page.

    It would be very usefull I could define a maximum width and height.

    1. Nov 24, 2008

      the latest version of this plugin, which is currently used here on confluence.atlassian.com though the version of confluence this plugin is bundled with is not yet released (we're testing it out here), includes a height but not a width parameter. the previous version included neither height nor width parameters.

  12. Dec 03, 2008

    This error occurred for me also.  I'm using Confluence 2.10 and JIRA 3.13.  In my case, it appears to be related to using a https url.  When I changed my url to point to the http address, the error did not occur and I could see my issues.

    1. Dec 03, 2008

      That old chestnut. you need to import the Certificate Authority (CA) that signed your SSL certificate into the Java Runtimes trust store so that when Java connects with SSL, it is able to walk the chain of signers and verify its authenticity. No CA = untrusted certificate = no ssl connection. If you have a self-signed cert, just import that instead. Oh, and the SSL server FQDN does match the CN of the certificate, right?

      In addition to importing into the trust store you may need to explicitly identify its location and passphrase to open it. Default JRE trust store location is JAVA_HOME/jre/lib/security/cacerts. changeit is the default JRE password, really.

      Get the signer cert (exercise for the student (smile)) and do this from the security folder:

      keytool -storepass changeit -alias yourcacertalias -import -file yourca.cer
      

      (info) Of course, if you upgrade your JRE you will need to do this again, and if you take a copy of the cacerts file, eventually, ca's will expire, and it will be broken that way.

      ttfn

  13. Dec 08, 2008

    Is there any way to parametrically specify the query parameters (ie. specify the same type of information like desired user, status, date range)?  Basically, generate a dynamic filter at page load time, rather than having to reference a pre-made filter in JIRA?

    For example, it would be nice to have a filter for "show me the issues marked 'closed' for user in the pastdays".

    Then, in some Confluence page, do

    or

    It appears to me the answer is "no, neither {jiraissues} nor JIRA itself can do that".  Without this capability, I'd have to create separate filters in JIRA for "Bob @ 30 days" and "Frank @ 7 days", which is not desireable.  Is that a correct assessment?  Where would I create such a feature request?  It would greatly improve Confluence<->JIRA integration, in my opinion...

    1. Dec 11, 2008

      Hello David,

      If you wish to modify your JIRA Issues macro filter with the specific parameters you have described, you currently have to recreate the JIRA query as described in step 1 above.

      When you create a JIRA query with your specific filters, the parameter-value pairs that represent each specific filter will be present in the XML link URL. If you make a note of these parameter-value pairs, you could insert them directly into the URL contained within your {jiraissues} command in Confluence. However, be aware that we currently do not support this approach.

      Kind regards,

      Giles Gaskell
      Technical Writer
      ggaskell@atlassian.com
      ATLASSIAN - http://www.atlassian.com

  14. Dec 17, 2008

    Is there a way to modify the link between the issues listed in a jiraissues list and the issues in the jira.
    Ideally we want to beautify the detail issue. ie. instead of linking ISS-123 to http://jira.acme.com/browse/ISS-123, linking it to http://customers.acme.com/issueportal?issue=ISS-123.

    1. Jan 11, 2011

      the plugin simply uses the contents of the link element in the xml returned from jira to determine for each issue link. so no your request is not possible out of the box.

      the plugin is open source so if you really need the link substitution, you can modify the plugin. see our "how to build an atlassian plugin" documentation and the plugin source to get started

      another option might be creating a custom field in jira for the special link and then requesting that column with the jiraissues macro.

  15. Dec 18, 2008

    I will adapt the plugin as the link should contain the key, and I can't expect that the users are going to fill in the custom field,
    unless there is a way to automatically generate the content of that custom field (question)

    Tx

    1. Dec 18, 2008

      there should be a way to generate the field contents in jira, but i think if you can adapt the plugin that is the way to go since you can get more precisely want you want. (if you made a link custom field, the other columns in the jiraissues table would still use the non-preferred link and that could be confusing for users.)

  16. Jan 05, 2009

    Version 2.8.7 of the issues macro really rocks, because now you can choose any JIRA column you like. There are only two annoying problems left:

    The description column does not support german umlauts, as for example the summary column does:

    Furthermore an automatic word wrapping would be very helpful for the description column, as those texts tend to be long...

    We are using Confluence 2.10 and JIRA 3.13.2.

    Thanx in advance

    Markus

    1. Jan 13, 2009

      hi markus~

      is the text you give an example of contents of a description column where the umlauts are not displayed? i was able to make a test issue with umlauts in the summary and description and it seems to show up fine in the new jiraissues macro. the issue is at http://jira.atlassian.com/browse/TST-17248 and i used this macro syntax:
      {jiraissues:anonymous=true|url=http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?pid=10420&status=1&sorter/field=issuekey&sorter/order=DESC&tempMax=10|columns=type;key;summary;description}
      let me know more about the problem you're seeing.

      about the description wrapping, i thought we had done this but i verified that it is not occurring and filed an issue: http://developer.atlassian.com/jira/browse/CONFJIRA-124

      ~cheryl

      1. Jan 14, 2009

        We have the same error with the umlauts, but only on custom fields. (I have seen it in a custom text field (< 255 characters))

        1. Jan 14, 2009

          hmm, i just added umlaut-containing text to the issue mentioned above in a custom text field called Random text. then i tried the jiraissues macro again, adding that column: {jiraissues:anonymous=true|url=http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?pid=10420&status=1&sorter/field=issuekey&sorter/order=DESC&tempMax=10|columns=type;key;summary;description;Random text}
          i'm still not seeing the problem. does anyone have a public jira instance where it is occurring where they can point to an example?

          1. Jan 14, 2009

            It works only, if the jira field is set to the Wiki Style Renderer. The error occurs only with the Default Text Renderer.

  17. Jan 08, 2009

    Macro works fine, but I am wondering if there is a way to configure the display so that table hight automatically adjusts based on the number of issues. In some cases we do not have many issues and 'large' blank space between the issues and page number footer is looking ugly. If I remember correctly we did not have this problem with 2.5.6 version confluence we were using earlier. We are currently using confluence 2.10 and jira 3.13.2. Our users are complaining about this display and it would be nice to have a solution.

    1. Jan 12, 2009

      no, you cannot have the height auto-adjust based on the number of issues returned. one reason is that the amount of space each row takes is browser and user settings dependent, so the correct height to auto-adjust to is not apparent.

      you are correct that the older version of the jira issues macro did not have this issue, because it wasn't dynamic and was using a different ui. you can force the old style ui to be used with the renderMode=static parameter, but you will lose the new dynamic features. you might instead use the height parameter to manually set the height you'd like.

      1. Apr 28, 2010

        Hello Cheryl - your tip on the renderMode=static was exactly what I was looking for as I'd like to limit the real estate this macro takes up on the confluence page. I have a use case where I need to display a single issue and 3 fields. Is it possible to limit the macro with other parameters to get something like this (without the issues header to sort)?

        Desired output

        Description

        Key

        Status

         

         

         

        Current (with renderMode=static)

        1 (issues)

         

         

        Description

        Key

        Status

         

         

         

        1. Nov 29, 2011

          Claudia... Did you ever find a solution?   I am trying to use the same exact concept and I am getting the same exact row 1 (issues)

          1. Nov 30, 2011

            Unfortunately no...

  18. Feb 09, 2009

    I still seem to have difficulty getting any custom fields displayed - I have Confluence 2.7.1 and Jira 3.11 and my macro is as follows (with the usual sensitive info changed to protect the guilty..)

    My regular fields show up just fine, but even when doing a 'view-source', it's like Confluence doesn't even see that column coming back.. I've played around with the order of the columns in the string as well as tried other customfield items with no luck.

    Any suggestions?

    1. Feb 09, 2009

      hi jason~

      displaying custom fields with the jiraissues macro was added in a version of the plugin that is unfortunately not compatible with confluence versions less than 2.10 (and it is bundled there). also, the name of the field is used in the columns parameter rather than the id.

      ~cheryl

  19. Feb 13, 2009

    Is there any workaround to put a width setting in.  It's important for the way our system is configured.  As 100% width is breaking things on our end.

    Just to followup, this page is suffering the exact problem our site is having.  We insert the tree on the left side of most of our pages.  If there is a jira object on the right it pushes the scroll bar all the way to the right, and it smooshes the tree navigation.

    Thanks so much

    Dan

    1. Feb 13, 2009

      dan, it's not a workaround but it is something: there's an issue for it. and you may be interested in the related issue, where it is mentioned that width issues are high priority

  20. Feb 24, 2009

    It's called "fixversion".

    You will find the field names in the xml export from Jira's Issue Navigator.

    Regards,

  21. Feb 24, 2009

    hi adam~

    we can't see your syntax used because confluence is trying to render the jiraissues macro here. could you leave off the brackets or escape them with backslashes (one in front of the bracket)? thanks.

    ~cheryl

  22. Feb 24, 2009

    Thanks for the tip

    jiraissues:anonymous=false|columns=key;summary;Ideal Days;assignee;fixVersion|url=http://xxxx.xxx.com:xxx/sr/jira.issueviews:searchrequest-xml/10038/SearchRequest-10038.xml?tempMax=1000

    The other thing I've noticed in the xml from Jira each issue is part of 2 Versions

    ' <fixVersion>Reporting - Iteration 2</fixVersion> <fixVersion>Reporting - Rationalise Reports</fixVersion>'

    Could this be causing the problem.....

    1. Feb 24, 2009

      hi adam~

      you are right – thanks for pointing this out. unfortunately this is a bug triggered by multiple fixVersions. i filed a new issue for the problem.

      ~cheryl

      1. Jan 18, 2010

        MMA

        I get the same thing in my jiraissue which looks like this:

        No multiple fixVersion at all. Course I have the multiple statuses...but removing those had no effect.

        1. Feb 01, 2010

          Hi MMA~

          What error are you getting? In any case, you may want to create a support request about it if you haven't.

          ~Cheryl

      2. Feb 01, 2010

        Anonymous

        Cheryl -

        I've run into the same issue. I've removed any 'sorter/<whatever>' parameters and still get the "jiraissues: Unable to determine if sort should be enabled." error.

        We are on Jira 3.13 and Confluence 3.1

        Any movement on this?
        The issue that you opened (CONFJIRA-130) doesn't seem to have been assigned or moved.

        This was a very helpful integration when it worked.

        Thanks.

        1. Feb 01, 2010

          Hi~

          Although above comment says "Unable to determine if sort should be enabled", that wasn't actually the error Adam was seeing (CONFJIRA-130 was actually fixed – check the source tab to see the code changes). Confusingly, it is just the error when his comment tries to render an example macro with incorrect syntax.

          However, there was another issue for the problem you describe: CONFJIRA-154. (BTW, you'll notice that the issue was fixed by improving the error messages, so you may be able to get a better error message by upgrading your plugin version.) If you can't find the problem from that issue, you'll want to create a support request so our support team can help diagnose your individual situation.

          ~Cheryl

    2. Feb 10, 2012

      Anonymous

  23. Mar 03, 2009

    Anonymous

    The size of a jiraissues macro pane defaults to about double the width of a standard browser, and fills most of the hight of a standard browser window.  The font is also unnecessisarily large and there is far too much whitespace and wasted space, even in the example on this page.  (The control bar seems reasonable, though).  Is there a way to reduce not just the width and height of the window, but to reduce the scale of the entire widget as a whole, including font size and table cel and header size and spacing?

    1. Mar 03, 2009

      i don't think there is a built-in way to change the scale. you could try modifying the plugin's css to your liking, by creating a new version of the plugin itself or by using a tool such as greasemonkey to modify the css on the fly locally

  24. Mar 13, 2009

    Dear Cheryl!

    I really like this makro - but I have one problem:
    We always use anonymous = false, and if I don'T have enought permissions, I get:
    "jiraissues: Error on line 6: The reference to entity "N" must end with the ';' delimiter."
    as an error massege in Confluence.
    This makes in quite unusable for us because we never want to see a customer of us to see a technical error massege like this.
    Is it possible to replace it quickly with one like "Sorry, you don't have permission to see the issues" in the next days?
    (We are using Confl 2.9.1)

    Thank you very much,
    Tido

    1. Mar 13, 2009

      Hi Tido~

      What you describe sounds like it could be a bug. If you can provide more details, we can investigate it further. You can create an issue in the Jira Macros Plugin project. Please provide the macro syntax you are using and a saved copy of the XML that you get when visiting the location in the url parameter. If this information should be private, you can mention that in the issue and mark the security level as "Reporters and Developers".

      However, note that the latest version of the macro is not compatible with Confluence 2.9.x and there have been many bugfixes and new features since the older macro version was created. So, we may find that the best solution to your problem is to upgrade Confluence and the macro.

      ~Cheryl

  25. Mar 18, 2009

    Using Jira 3.13 and testing Conluence 2.10.2

    Noticed that the behavior of the colums has changed and the width of the JIRA display on the page has changed also.
    So my questions are:
    1. how to get the summary column to behave nicely as in 2.9
    2. can the width of the jira display be changed?
    2a. can there be a "display like it did in 2.9" feature?

    thanks

    1. Mar 19, 2009

      Hi Patrick~

      1. could you give more details about what you mean by "nicely"?
      2. this feature has been implemented and should be making it into the 2.8.8 release of the plugin
      2a. you can use the renderMode=true parameter to your macro

      ~Cheryl

      1. Mar 19, 2009

        Hi Cheryl

        What I meant by "nicely" is in confluence 2.9 the summary field does not take over the whole space, you can see the other colums - it seems like the size of the summary column is dynamic and shrinks so the other columns can be displayed on the screen. With 2.10 version if summary if the first colum it fills the display window and you have scroll to see the other columns, So we have to place the other columns ahead of the summary column. In some instances that works ok, but in other places it makes the information a bit awkward in presentation.
        Does that make sense?

        1. Mar 19, 2009

          Hi Patrick~

          The summary field is not supposed to take over the whole space, it is just supposed to take up some of it. "Some" is calculated based on the width the macro detects, but it does not always do a good job detecting the width, particularly in certain situations. For example, when the toc macro is being used the space the toc macro takes isn't subtracted from the width available to the jira issues macro. Perhaps you are experiencing the bug I have described. If not, it would be great to get a bug report from you in the CONFJIRA project.

          ~Cheryl

  26. Mar 27, 2009

    Jira 3.13 and Confluence 2.9

    Have a filter in Jira that displays an Issue and it's substasks using two components to get the issue and subtasks I want. It displays correctly in Jira.
    when I copy the xml to Conflunce to do up the JiraIssues macros I get nothing but the header for the filter and no rows for the actual task and sub tasks. The name of filter is there with zero issues and column names are listed.

    code:
    jiraissues:cache=no|url=http://nnn.nnn.nnn.nnn:8080/sr/jira.issueviews:searchrequest-xml/10103/SearchRequest-10103.xml?tempMax=1000&os_username=wikiuser&os_password=wikipass

    Yet when I click on the filter name in the header I get the rss feed and everything is there - issues, sub taksks and descriptions.

    any ideas?

    1. Mar 31, 2009

      I could not replicate this on a local instance. Perhaps, you can try creating a saved filter in our JIRA and see how it goes. I presume it does not affect unsaved filters or any other saved filters? Although it is not likely to be an issue, you might want to ensure the credentials are correct.

  27. Mar 27, 2009

    Hi,

    I'm using Jira 3.12.3 and Confluence 2.9.2.  They are listed as trusted apps for each other.  When I tried to use this macro, I received the following error:

    "Errors were reported by the JIRA trusted connection.
    OLD_CERT; Certificate too old. Application:

    Unknown macro: {0}

    Certificate Created:

    Unknown macro: {1}

    Timeout:

    Unknown macro: {2}

    ; ["confluence:14638695","Fri Mar 27 16:25:53 GMT\-08:00 2009","10000"]"

    Any idea why?

    Thanks!

    1. Mar 30, 2009

      Hi,

      Please have a look in the following page which may be useful for you:

      If you still encounter the problem, please raise a suport ticket to https://support.atlassian.com

      Cheers,

  28. Mar 30, 2009

    That worked, thank you!!

    However, I have a new problem - I want to show the issue type, key, summary and description.  Everything shows up but the description.  Why would that be?

    1. Mar 30, 2009

      Hi Sally,

      Is the column name correct (i.e "description")? You might want to test this macro which works for me:

      1. Mar 31, 2009

        Hmm, I copied what you wrote and it's still only showing the Key, Issue type and summary.  (sad)

        1. Apr 01, 2009

          Hi Sally,

          Sorry that I didn't realise that you are using Confluence 2.9.2, hence the latest plugin version compatible is 2.8.1.2. In order to get more fields displayed, you will need to upgrade to Confluence 2.10.x (plugin version 2.8.7 - a new plugin architecture has been implemented, hence incompatible with Confluence pre 2.10.x).

          Hope that helps,
          Azwandi

          1. Apr 01, 2009

            Thanks, Azwandi!

  29. Apr 02, 2009

    Anonymous

    Trying to display Jira issues into Confluence (2.10) and I cannot display the 'Affects version/s' field tried affectsversion and a ceratin number of case/spelling changes.

    Any ideas?

    Alex

    1. Apr 02, 2009

      Some fields with a different syntax.
      Cheers,

      Jira Field Name

      jiraissues Column Key

      Info

      Affects Version/s

      version

      Attachment

      Attachments

      attachment counter

      Comment

      comments

      comment counter

      Component/s

      component

      Due Date

      due

      Fix Version/s

      fixversion

      Issue Type

      type

      Original Estimate

      timeoriginalestimate

      Remaining Estimate

      timeestimate

      Time Spent

      timespent

      1. Apr 02, 2009

        Thanks for creating this list Bernhard, I think it will be useful for many people.

        In general, the column key you give to the Jiraissues Macro should match the name of the field as written in the issues XML. So if you are having problems getting a particular field, make sure those names match.

      2. May 11, 2009

        from the latest sources (jiraissues-macro 2.8.8) i copied the available default fields:

        "description", "environment", "key", "summary", "type", "parent", "priority", "status", "version", "resolution", "security", "assignee", "reporter", "created", "updated", "due", "component", "votes", "comments", "attachments", "subtasks", "fixVersion", "timeoriginalestimate", "timeestimate"

        It's like Bernhard wrote, e.g. in JIRA its called Sub-Tasks in jiraissues its stated subtasks. There are quite some doubts with this "implementation", e.g. the subtasks are not rendering as links and they dont get linefeeds for each entry (more than one isnt displayed as from the second one it gets hidden).
        I hope the jiraissues-plugin gets a 3.0 that deserves this name, with complete documentation, nice scaling and maybe some more parameterized settings. Cant really enjoy myself with the new fixed height and with of the macro.

        Edit: After some digging, found some more interesting fields on time tracking (Aggregate fields):

        aggregatetimeoriginalestimate, aggregatetimespent

        aggregatetimeestimate, aggregateprogress do not work somehow

      3. May 13, 2009

        Anonymous

        Hi,

        Than ks for the list Bernhard.

        timespent is not working for me. Even though I add it as timespent in the list of columns, the values are not displayed.

        Do you know what could be the reason?

        Regards

        Hande

  30. Apr 16, 2009

    Hi,

    Is it possible to change the size of the jiraissueMacro render?

    I have a left side navigator and when I display this Macro the section is reduced. Even when I use only two parameters in the table (Type and summary) I have this problem.

    Thank you

    1. Apr 16, 2009

      Hi Amina~

      It is not currently possible, but that feature has been implemented and is scheduled to be included in the next release of the Jira Macros Plugin.

      ~Cheryl

  31. Apr 22, 2009

    Anonymous

    When following the procedure to include a JIRA issues list, I cannot get the XML url to correctly display all of the issues. Only the first issue is shown, but not the newly created ones. Any clues what I am doing wrong?

    My filter in JIRA does correctly show all three issues, and the MaxTemp parameter is set to 1000 but only 3 issues in this test project.

    Many thanks,

    Bernie.

    1. Apr 22, 2009

      Hi Bernie~

      Two possibilities come to mind:

      • some of the issues are not visible to anonymous users, and you haven't provided the macro url with authentication parameters and trusted apps is not configured - if this is the case, see the Displaying Issues which have Restricted Viewing section above
      • you are getting a cached view of the issues - try clicking the blue refresh button to see if the additional issues show up and consider using the macro parameter cache=off

      ~Cheryl

  32. Apr 28, 2009

    Anonymous

    When specifying the following, I only see Key, Summary, Status, Assignee displayed:

    columns=key;summary;description;fixVersions;status;assignee

    We are using JIRA Enterprise Edition, Version: 3.13.2 and  Atlassian Confluence 2.9.2

    1. Apr 28, 2009

      Displaying custom fields with the jiraissues macro was added in a version of the plugin that is unfortunately not compatible with Confluence versions less than 2.10, because creating the plugin's new features required adding features to Confluence first.

  33. May 01, 2009

    Anonymous

    We are currently using Confluence 2.10.2 and JIRA 3.13-#330. When we display the JIRA issues in JIRA the headers are in French. However, when using the jiraissues macro in Confluence the headers are in English. Both JIRA and Confluence are configured to display in French. How do I obtain the headers in French?

    1. May 05, 2009

      it seems that the header's title is having a fix string. You may want to raise an improvement request to our jira:

      * http://jira.atlassian.com

    2. May 07, 2009

      you can probably change that by changing the jiraissues.properties file. Either by compiling the plugin or maybe in the classes folder of the webapp. There you can specify the Column-names for your Confluence-installation (it will be consistent for all macros, its not parameterizable, so far), looks like:

      jiraissues.column.type=Type
      jiraissues.column.key=Key
      jiraissues.column.summary=Summary
      jiraissues.column.assignee=Assignee
      etc...

    3. May 08, 2009

      analysed it a bit more. The jiraissues.properties file is the default one. It is already the i18n-file. So if you want a German locale you just copy this and rename it to jiraissues_de.properties (accordingly for french, of course). A German locale would look like:

      jiraissues.issues=Anliegen
      jiraissues.column.type=Typ
      jiraissues.column.key=Key
      jiraissues.column.summary=Übersicht
      jiraissues.column.assignee=Bearbeiter
      jiraissues.column.reporter=Melder
      jiraissues.column.priority=Priorität
      jiraissues.column.status=Status
      jiraissues.column.resolution=Lösung
      jiraissues.column.created=Erstellt
      etc...

      The point is, that Atlassian did not yet even translate all default fields here. So it is a bit more experimentall than just to copy the properties file.

  34. May 10, 2009

    I have a custom 'User Picker' field which I want to display. When using the issue navigator in Jira, the persons full name is displayed, but the jira issues macro displays the username. Is there a way to get jiraissues to display the fullname rather than username?

    1. May 22, 2009

      Hi Mike,

      jiraissues macro does downloading and extracting the data from an xml (if you click xml link from the issue navigator). By default, the xml link does not display the value of fullname but it does display username only. That's why jiraissues cannot display the fullname because the data is not there. In order to make jiraissues can display the fullname, you need to modify behavior of jira (customize jira core code) so that when you click the link xml (to generate an the data in xml format), it will give you fullname.

      Cheers,

  35. May 13, 2009

    Is there any way to keep the user from having to scroll in two directions to see the content of the jiraissues macro?

    I can immaginge a couple possibilities:

    * Flag to ensure that All fields have SOME of the realestate

    * Ability to specify column widths/%'s

    Right now the table is big enough that it can not be reaonably displayed on out monitors.

    1. Jun 04, 2009

      Hello Hasan,

      As far as I am concerned, user can now specify the height and width parameters of the table. Please refer to the the "Parameters" section above for more details.

      Cheers,
      Azwandi

      1. Jun 04, 2009

        So the height and width allow me to ensure that the table fits into the page. That is great as far as it goes.

        The problem is that when you have say a long description and a long summary, the actual content is more than will fit in the width of the page. What I want to do is force word wrap in a column (say description) so that a user only need to scroll vertically to see all of the content of the table.

        As is stands now, the user will have to scroll both horizontally and vertically to see the entire table.

  36. Nov 10, 2009

    Anonymous

    Confluence 2.10.1
    Jira Enterprise Edition, Version: 3.13.2-#335

    Trusted relationship has been set up between JIRA and CONFLUENCE.

    Imbedded Macro URL:

    {jiraissues:cache=off|url=http://jira:8080/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?sorter/field=issuekey&sorter/order=DESC&tempMax=1000\}

    Issues:
     Click on TYPE, KEY, or SUMMARY column two things happen:
      1. JIRA is requiring a login
      2. Back arrow to CONFLUENCE requiring a login.

    Questions:
     1. How do I eliminate the login requirement?
     2. How do I eliminate the back arrow requirement?

    1. Aug 11, 2009

      Hi, there. Sorry if this is a little too late. Judging by your description, I'd suggest you to raise a support ticket at https://support.atlassian.com in case this problem has been unresolved.

  37. Jun 04, 2009

    everytime someone comments here I get the page emailed to me. I'm not watching it, and have never commented before that I can see.

    I can't see any way to stop this - do I have to log an issue about Atlassian's confluence to figure this out?

  38. Jun 19, 2009

    JIRA:Enterprise Edition, Version: 3.13.2-#335

    Confluence: 2.9.2

    I am not able to see Component/s column via jiraissues macro (usage ...|columns=type;key;summary;component) and I am not able to see the navigation bar ... any idea what version of JIRA/Confluence this two functionalities were introduced?

    Thanks

    1. Jun 22, 2009

      Hello, Theodor. Those features were introduced in Confluence 2.10. I would suggest you to upgrade your Confluence to the latest version available, since the plugin version that contains those features is not compatible with Confluence 2.9.x. Hope that helps!

  39. Jul 02, 2009

    Hi,

    I keep getting the error "jiraissues: Unable to determine if sort should be enabled". The xml search string seem to be ok, and were using Confluence 3.0.0_01 and JIRA 3.13.4 .

    Any ideas on how to go about with this?

    Thanks

    1. Jul 02, 2009

      I just got this same error, but on 2.10.3, it transpired an apache server was down which was previously handling old URL redirects (error message wasn't terribly informative in this regard (smile) ). Validate your filter url in a browser, perhaps you have a DNS or similar lookup problem.

      1. Jul 02, 2009

        Hi Andy,

        Indeed, the error message isn't very helpful. Thanks for your quick reply - I tried to view the filter url locally from the server and indeed, it cannot resolve the host name. Thanks for the pointer :)

  40. Jul 12, 2009

    Would be really great if there was a parameter to make the dynamic list minimized by default, and only when the user "restores" it then the data will be revealed.

    1. Jul 13, 2009

      Hi, Evgeny. I have created an improvement request at CONFJIRA-164 to address your requirement. Feel free to add in your comments, watch it and vote for it. Hope that helps!

  41. Jul 13, 2009

    Is this Macro compatible with Confluence 3.0? We can not get it to work again and Atlassian support has asked us to confirm this, please let me know.

    1. Jul 13, 2009

      Hi Bill~

      The macro should work in Confluence 3.0, because the plugin that contains it is supported for that version. (And I can confirm that it works for me personally.) So if you are having problems perhaps there is a Confluence bug or a configuration issue occurring. I see you've created a support case, and that is great because support should be able to help track this down.

      ~Cheryl

  42. Aug 12, 2009

    We've currently got JIRA and Confluence on the same server both listening on port 8080.

    As we're getting more and more people on board we'd like to tidy up the URLs.  So we plan on moving both Confluence and JIRA onto Port80 and we'll probably move to a more meaningful URL.

    We use the jiraissues extensively and so we'll have to edit a lot of pages to fix up the URLs.

    Between now and when we do the URL tidying is there a way to soft code the Jira URL in the Jira Issues macro?  A sort of extension to the short cut links?  What is best practice? (Other than getting it right to begin with).

    N.

    1. Aug 23, 2009

      Hi Neil,

      I am not sure which is the best practice. However, you might want to try the Global Search and Replace Plugin to
      change all the URL which is presented in all the page.

      Hope that helps.
      Best rgds,
      Zed

  43. Nov 10, 2009

    Anonymous

    I've a problem with custom filds

    jiraissues:url=http://jira.abacho.net.local/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?pid=10140&fixfor=-1&resolution=-1&due=-1&sorter/field=priority&sorter/order=DESC&tempMax=50\|columns=priority;status;assignee;iRAnk;summary;

    the custom fild "iRank" is not be show - only an empty row "iRank". I've conf 3.0 and jira 3.13 and of course i've tried the id of the custom fild and it isn't empty in jira

    1. Sep 01, 2009

      Hi there,

      I am using this macro (love it!)  and am trying to get the full length of the description field from Jira to show, regardless of length.  Any suggestions?  It keeps truncating.

      Thank you,

      Holly

  44. Sep 01, 2009

    Anonymous

    Also a reason for this error might be insufficient "Trusted Applications" access for Confluence in JIRA for example.

    We tried to add a single Issue through the jiraissues macro, which has a different url than the issue list ( /si/jira.issueviews:issue-xml instead of /sr/jira.issueviews:searchrequest )

    That URL was not allowed per default in the "URL Paths to Allow" option, and thus the macro was returning that error message.

  45. Sep 12, 2009

    Is it possible to disable the Issue Type text instead of the icon? We've created many custom issue types and they are all using the generic icon. We could create custom icons, but it would be simpler to just display the issue type as text

    1. Sep 13, 2009

      Hi Jeff,

      Is it possible to disable the Issue Type text instead of the icon? We've created many custom issue types and they are all using the generic icon. We could create custom icons, but it would be simpler to just display the issue type as text

      You might want to try change the configuration in the Configuring Jira Issues Icon mappings

      I have provided steps shown below. Hopefully, this will give you a better understanding on it.

      1. Go to Configuring Jira Issues Icon mappings option.
      2. You might need to remove the icon which is set to the particular entity
      3. Now enter Jira entity and leave the Icon filename option to be empty
      4. Save the Changes
      5. Now flush the Confluence cache via Confluence admin >> Cache Statistics >> flush all

      However, this only work well in fire fox 3.0.14,in IE7 it will show image break icon.
      Hope that helps,
      Best rgds,
      Zed

      1. Sep 14, 2009

        Thanks, Zed. That works exactly the way I want it!

      2. Oct 20, 2011

        Hey Zed,

        We're running Confluence 3.5.13 and I cannot find:

        1. The "Configuring Jira Issues Icon Mappings" page in the 3.5.x documentation. It seems to have ended with 3.4.
        2. Any way to edit the icon mapping settings in 3.5 via the admin console.

        Was support for editing the icon mapping settings removed in Confluence 3.5?

  46. Oct 21, 2009

    Hi,

    Thak you for this great stuff.
    I'm having a problem here, we have some custom field using datepicker data type, it's showing fine on the page view.
    but, when we try to send the page by email, it will showing a complete formate datetime just like this : Wed, 21 Oct 2009 00:00:00 +0800 (SGT)
    also on the received email

    is there anyway we can fix it in our side? or is it a bug?

    the second problem,
    I was creating a filter and forgot to add the share, and then the macro won't showing the issues event after I add the share, and i have to create a new filter to have it showing correctly. in other case, the issue not showing all the issues ont the filter, which is also fixed by creating a new filter. is there any synchronization problem on this macro?

    Regards
    Fahmi

  47. Nov 08, 2009

    Anonymous

    Hi,

    I get an RSS feed under the XML view, which is not accepted by Confluence ?!?

    Thomas

    1. Nov 10, 2009

      Hi,
      I'm uncertain on which RSS feed are you referring at, but I've tested the XML, RSS (Issues), RSS (Comment) at http://jira.atlassian.com, and they worked fine for me.

      XML http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=&tempMax=10

      RSS (Issues) http://jira.atlassian.com/sr/jira.issueviews:searchrequest-rss/temp/SearchRequest.xml?jqlQuery=&tempMax=10

      RSS (Comment) http://jira.atlassian.com/sr/jira.issueviews:searchrequest-comments-rss/temp/SearchRequest.xml?jqlQuery=&tempMax=10

      Could you try the URLs above and see if they work for you? If I've miss-understood your question, please try to explain more on how & where you get the RSS link.

      Hope it helps. Please give them a try.

      Cheers,

  48. Dec 15, 2009

    This is not a big deal but doesn't hurt to ask. I haven't seen it documented anywhere (I'm hoping it's there, but just not documented): is there a way to tell jiraissues to only show an arbitrary list/set of issues? i.e. show me QA-453, SYS-4432 and SYS-4431 only? They way I do it now is I just make sure I can search that set of JIRA issues, and that use that "XML link".

    1. Dec 15, 2009

      Hello Juanchico,

      As far as I'm aware, there are no other parameters of this macro (apart from the url one) that you can use to control the filtering of results retrieved from a JIRA site.

      Furthermore, you should probably only restrict your results using the search and querying tools in JIRA itself (i.e. the way you're currently doing so), since the XML link is generated from these JIRA searches and queries. Editing this XML link to filter your result could be quite tricky and not a recommended approach.

      If you would like to see filtering features introduced into the JIRA issues macro, please raise a New Feature request on our JIRA site.

      Another suggestion, you could also request that the administrator of your Confluence site configure shortcut links to your JIRA site. Hence, if they configured a shortcut link key of JIRA with an expanded value of http://<URL of your JIRA site>/secure/QuickSearch.jspa?searchString=, then you could use [QA-453@JIRA] to create a Confluence link which leads directly to that issue on your JIRA site.

      Hope this information helps and kind regards,
      Giles Gaskell.

  49. Feb 11, 2010

    I would like to track the status of a single parent issue and all its children on a confluence page.  I've tried feeding the jiraissues macro  the XML path from the parent issue, but the macro returns "jiraissues: Unable to determine if sort should be enabled".  Does jiraissues support this use case?

    Thanks,

    Eric

    1. Feb 11, 2010

      Hi Eric~

      I don't think that use case is supported. I think the XML URL must be a search result URL. One possible workaround would be to put a label on the issues you want to track together (e.g. the parent and children) and then do a search for items with that label.

      ~Cheryl

  50. Feb 24, 2010

    Hi,

    Is there a way to set the Issue Macro to Shrink in height based on the issues that are displayed?
    If number of issues exceed the height then we seen it traversing the pages which is fine but if the number of issues are less I the macro should shrink so that it does not eat up the space. Also it looks ugly

    Any pointers?

    Thanks
    Dave

  51. Mar 03, 2010

    I agree with Dave, the display of issues is a bit ugly.

    1. Mar 05, 2010

      New Feature request has been opened, pls vote

      http://jira.atlassian.com/browse/CONF-18822

      -Dave

  52. Mar 05, 2010

    Hi,

    I have the following query where I am trying to display custom field but they showup blank.

    Any advice? This is JIRA 4.1 and Confluence 3.1

    jiraissues:http://jira.xxx.com/sr/jira.issueviews:searchrequest-xml/tempSearchRequest.xml?jqlQuery=project+%3D+%22QA%22+AND+fixVersion+%3D+130+ORDER+BY+key+ASC&tempMax=25|columns=priority,key,summary,Status,assignee,customfield_10053,customfield_10052|cache=off|height=500

    Thanks
    Dave

    1. Mar 05, 2010

      Hi Dave~

      To display a custom field, use its customfieldname, not its id.

      ~Cheryl

      1. Mar 05, 2010

        Anonymous

        Any suggestions for getting content from a "*Free Text Field" *custom field to wrap when displayed? We are using Confluence 2.0.

        1. Mar 05, 2010

          I think you would need to modify the plugin (at least its CSS) to customize the display of particular columns. Might be worth making a feature request though.

      2. Mar 05, 2010

        ....this works ...Thanks

      3. Mar 05, 2010

        Yes that works ....not sure what I hit earlier on when I had tried

        Thanks for the prompt response

  53. Mar 12, 2010

    Ho can I incorporate "Issue Links" in this macro? "Issue Links" is available in JIRA Issue Navigator and shows all the issues that are linked to this issue. I would like to have the same capability in my JIRA Issue Macro as well

    Any pointers are appreciated

    Thanks

    Dave

    1. Mar 12, 2010

      You can get a not-super-pretty list of issue links by adding "issuelinks" to your "columns" parameter value. I created an issue for improving the display. Feel free to submit other bugs or feature requests there if you have them.

      1. Mar 12, 2010

        thanks for the super fast response, appreciate that. I have casted my vote. I see the same issue with SubTask as well, its plain text rather then a link

        -Dave

      2. Mar 16, 2010

        Cheryl,

        Adding issuelinks shows only one part of the relationship, currently it shows all the issues that are blocked by this issue, I would like to display what all issues are blocking my issue

        Thanks

        Dave

        1. Jan 04, 2011

          Anonymous

          +1.

          Can the issuelinks output be displayed by its types, i.e., "Blocks", "Blocked By", "Duplicates", and "Duplicated By"? Furthermore, can each type be separated by EOL (end of line)?

          Thanks.

      3. Apr 06, 2011

        Hi,

        I found a workaround for the not-super-pretty style of issuelinks field. You can use table-plus macro enclosing the jiraissues macro to insert some style attributes to the columns of jiraissues table. You will need to use renderstyle static. Here is a working example:

        This solution may not work in every environment (dependent to JIRA version, Confluence Version and browser). I was using JIRA 4.1.1, Confluence 3.1.1 and Firefox 3.16.13. The used CSS style attribute "white-space:normal;" is in conflict to HTML "no-wrap=true" that is embedded in HTML code of jiraissue macro.

  54. Mar 12, 2010

    Cheryl,

    How abt using Shortcut links in the Macro instead of the URL. I tried it and I get

    Error formatting macro: jiraissues: java.lang.NumberFormatException: For input string: "1000@jira]"

    I have added my JIRA URL as a shortcut with jira being the key

    jiraissues:url=[/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project%3D+%22B+QA%22+and+fixVersion+%3D+1&tempMax=1000@jira]|columns=type,key,summary

    Thanks

    Dave

    1. Mar 12, 2010

      Shortcut links are actually created with another plugin, which wouldn't modify parameters to macros in other plugins. Anyway, I would think the shortcut wouldn't be so useful because most jiraissues URLs would be copied directly from JIRA, but maybe I am wrong, so you can create a feature request for that.

  55. Mar 31, 2010

    Anonymous

    Hi,

    Everything is coming over from Jira nicely, however, the Jira field "Documentation Link" (which presents itself as a hyperlink when in Jira), is being displayed as simple text.  Is there a way to have the Documentation Link content act as a hyperlink?

    Thanks,

    Andrew

    1. Apr 02, 2010

      Hi Andrew,
      Unfortunately, jiraissue macro is not able to render hyperlink. Please feel free to create a feature request to enable hyperlink in jiraissues macro, share your comment over there, vote on it , and add yourself as a watcher for future update. Please also take note on how we implement feature request.

      Hope it helps. Please feel free to ask again if you need further assistance.

      Thanks & regards,
      Jack

  56. Apr 04, 2010

    When I am using this to show sub-tasks of a specific parent, I can't seem to get them to show in the order in which they are set within the parent task.  I've got my filter as a "parent = [parentkey]" query, but the order that the parent is allowing me to set on the sub-tasks doesn't seem to be exposed as a field that I can sort on.  Does anyone know the field name?  Or is that a part of the link itself, and not the record?  If so, is there any way to do this?

    Thanks,

    Chris

    1. Apr 14, 2010

      Hi Chris,
      May I know which field is not exposed as a "sort-able" field? When defining the JQL, you should be able to sort the field with "ORDER BY", eg:

      parent = [parentKey] ORDER BY [columnName] 
      

      If auto-complete is turned-on, you should be able to see the available column name .

      Save the filter with jql similar to example above > copy the XML link to be used in jiraissue macro > you should be able to sort the issue list properly now.

      Hope it helps. Please feel free to ask a again if you need further assistance.

      Cheers,
      Jack

      1. Apr 16, 2010

        Hi Jack,

        When looking at the sub-tasks shown on an issue, there are little "up" and "down" arrows that allow me to change the ordering of the sub-tasks as shown within that list.  When doing the "parent = parentkey" query to retrieve the sub-tasks, the records that are returned are not in the order set in the list shown on the parent record.  I'm not seeing a field that would seem to store this value on the sub-task itself (which are the only fields that appear to be available for use within the ORDER BY clause).  I'm thinking that the index is stored on the link between the parent and the sub-task?  Or perhaps I'm just missing the field?

        Thanks,
        Chris

  57. Apr 16, 2010

    Anonymous

    • Log in to your JIRA system.
    • Go to the 'Issues' screen and create a new filter. Do not modify an existing filter.
      (info) This is the 'Find Issues' screen in JIRA 3.13.x and earlier.
    • Set up your search parameters and use 'View' to check the issues returned.
    • Once the filter is finished, go to the Filter's 'View' tab/section in the top-left area of the JIRA interface.
    • Copy the XML link. To do this, follow the appropriate steps below:
    • If you are using JIRA 4.0.x or later:
      • Click the 'Views' menu and use this menu to copy the XML link to your clipboard. For example, right-click the 'XML' menu item and choose the right-click menu option for copying that link.

    Where in the administration tab do I setup the different methods under views. Mine is currently blank and I am on jira 4.01. is this a plufgin that needs enabled or a permission schema?

  58. Apr 16, 2010

    I have went thru and follow the instructions, used the macro browser to create this syntax

     

    and this is what the page displays to me after the save.

    jiraissues: Unable to determine if sort should be enabled.

    columns=key, summary

    anonymous=true

    title=CM Issues}


    any ideas, I am not currently using trusted apps becuase I have the ssl in an alt keystore and have not found all the places/ files I need to edit to point at that keystore.  

    1. Apr 04, 2011

      Anonymous

      I had the same issue until I correctly get the link to filter. Following instructions in "Displaying a List of JIRA Issues from any accessible JIRA site" section.

      Mike Kosovan

  59. Apr 26, 2010

    Anonymous

    I've followed the directions as listed and when I preview the results I get the following error:

    Error formatting macro: jiraissues: org.springframework.dao.IncorrectResultSizeDataAccessException: Incorrect result size: expected 2, actual 4

    What do I need to check to resolve this?

  60. Apr 30, 2010

    Anonymous

    When I use Priority in the column list, it just shows the icon and not the text (e.g. 3 - Important ) unlike the status which shows Icon and text.

    1. May 03, 2010

      Anonymous

      BTW, is any body know how to display the text for priority??

      1. May 26, 2010

        Unfortunately, this is currently being tracked as an improvement request in:

        Feel free to cast a vote, comment on it, and add yourself as a watcher for future updates.

        This is the closest which I can find, if you think this is not as accurate as what you are looking for, feel free to create another improvement request for this.

  61. May 03, 2010

    I'd like to modify the output format from this macro.  Is the source available?

      1. May 27, 2010

        Perfect, thanks!  In the mean time I actually turned to the XSLT macro and was able to pull the and format items that I wanted.  The only problem there is that I needed to pass in a username and password (as is documented in the old jiraissues macro).  It would be great if you guys could implement a more generic solution that allowed any macro to talk to confluence from within an authenticated channel, without the macro needing to be aware of the auth.

      2. May 27, 2010

        Meant to say "talk to JIRA".  Thanks.

  62. May 05, 2010

    Anonymous

    Hi,

    after a while I found how to add a custom field to be displayed with the jiraissues macro. But I had to change the name from "My Custom Field" to "MyCustomField" otherwise the field will not get displayed. Did I miss something or is ther no way of adding human readable custom field names?

    Regards,

    Christian

    1. Jul 16, 2010

      sorry christian, last i heard there was not

  63. May 26, 2010

    Hello, I can't get the 'Component/s' field to display using 'component' value. I read before that it requires confluence 2.10 and above which we have. Any thoughts? Here's the XML:

    http://xxxx.xxx.xxx.xxx:xxxx/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?query=%22Do+not+allow+an+application+to+be+deleted%22&summary=true&description=true&body=true&environment=true&pid=10100&tempMax=1000\|columns=mrd id,key,description,component,status,priority|height=75|title= |renderMode=static

    Confluence: 3.0.0_01

    Jira: 3.13.1

    Cheers!

    -Claudia

    1. Jul 16, 2010

      Hi Claudia~

      The reason it isn't working isn't obvious to me from looking at this. If it still isn't working you may want to create a support request.

      ~Cheryl

    2. Jul 17, 2010

      components (plural) ?
      -jd.

  64. Jun 11, 2010

    Hi, is it possible to preset individual column widths? 

    I have added a custom field which can have quite a long string, but the default width (Summary is always the largest - and that is not what I always require..) means that the user has to manually resize every time the screen is loaded.  I haven't been able to see any discussion of this feature/requirement...

    Cheers

    James

    1. Jun 14, 2010

      I'm having the same issue. I have a custom field to document an external release note and I have to use that field because of the character limit on the Summary field. Hopefully there's a workaround. Also, is there a way to concatenate fields? For example, put the contents of the Summary field and my custom external release note field into a single field when displayed in Confluence?

      Thanks,

      Dan

      1. Oct 08, 2010

        I'm also having this issue. Would like to be able to set width of the column for a custom field.

        This this is a related - an outstanding issue for automatic column sizing here ->  https://studio.plugins.atlassian.com/browse/CONFJIRA-93

      2. Oct 08, 2010

        I'm also having this issue. Would like to be able to set width of the column for a custom field.

        This this is a related - an outstanding issue for automatic column sizing here ->  https://studio.plugins.atlassian.com/browse/CONFJIRA-93

  65. Jun 15, 2010

    Anonymous

    I'm running into this same issue. Is there any way to set column widths - specially for the summary field?

  66. Jun 30, 2010

    Anonymous

    We are encountering a similar error reported by several: jiraissues: Unable to determine if sort should be enabled

    It came about when we upgraded from 2.10 to 3.2.1_01; our jira version is: 4.1.1#522).

    I followed the documentation instructions just to reinsert/copy the xml link.

    I tested the link by putting it into a separate browser window to make sure that it rendered correctly

    They are not setup with SSL, so a trusted connection between confluence and jira should not be necessary

    I tried with a specific user's set of credentials (as was necessary with our 2.10 version) and it still should have worked, even though it's not recommended -- but, it didn't.  I tried with anonymous set to TRUE as well.

    We uninstalled and reinstalled the plugin

    We reviewed the error logs to ensure we weren't getting an issue with host name validation -- couldn't locate any such error message.

    Does anyone have any other suggestions for how to troubleshoot this issue

    1. Jul 16, 2010

      Hi~

      That error message is usually hiding some deeper problem (such as proxy issues). We have an issue for improving the message (CONFJIRA-154), and some progress has been made on that. So your first step should be getting the latest compatible version of the Jira Macros plugin to see if you get a more informative error message with the new version. If not, you may want to create a support request.

      ~Cheryl

  67. Jul 15, 2010

    Hi,

    I am using this macro, in the following way, to show our custom field Release Notes Comments for different versions:

    {jiraissues:url=http://jira.mycompany.com/sr/jira.issueviews:searchrequest-rss/temp/SearchRequest.xml?jqlQuery=project+%3D+RPT+AND+fixVersion+%3D+14365+AND+"Release+Note+Comments"++IS+NOT+EMPTY+ORDER+BY+key+DESC&tempMax=1000\|columns=key,summary,fixVersion,Release Note Comments|cache=off|title=Release notes|renderMode=static|width=800}
    

    On this custom field Release Notes Comments, defined as type Free Text Field (unlimited text), we introduce all information we consider should be known by other teams about a particular issue on a language that's easy to understand for them. Then we automatically collect all those release notes using the jiraissues macro and that constitutes our release notes for a particular version.

    I am nevertheless experiencing two issues with it:

    First, it is not wrapping the lines of text, so that I actually have to insert breaklines at strategic points within the Jira's Release Note Comments field so that the lists of issues do not expand horizontally too much. The lines are being perfectly wrapped in Jira, where everything is displayed correctly, but they are not when the text of the Release Note Comments field is displayed by the jiraissues macro. I tried setting the width in different ways and nothing seems to solve that problem.

    Second, I cannot get the macro to show the 'fixfor' versions when there are more than one. I tried with "fixVersion", "fixVersions" and "fixfor", but I cannot get it to work.

    FYI, we are using Confluence 3.2 and Jira v4.1#519

    Could you help me with this?

    1. Jul 16, 2010

      Hi Gerardo~

      Unfortunately, I don't think you can fix your first issue without modifying the Jira Macros plugin source. I believe the only field set up to wrap is the description field. (Perhaps a future feature could make wrapping of custom fields more customizable.)

      For your second issue, using "fixVersion" should work, though there have been some related bugs, such as CONFJIRA-184. You might try updating your Jira Macros Plugin to the latest version compatible with Confluence 3.2. If that doesn't work, you should open a support request.

      ~Cheryl

  68. Jul 22, 2010

    Hi,

    I am using this macro to show jira issues in a confluence page. It works ok, but I received some complains from our users.

    the point is that when they click on the issue, jira is open in the same page. Is there a way or parameter that I can use to get JIRA open in a new Window?

    1. Jul 26, 2010

      Hi Fabian,

      As far as I know, the feature requested is not available yet. However, feel free to launch a an improvement request in JIRA:

      Cheers,
      Zed

  69. Oct 14, 2010

    Anonymous

    Hi there,

    i have a question about how to write names with sur- and lastname into my configure? For example: MYNAME: Max Mustermann MYPASSWORD: Test.

    jiraissues:url=CONTENT&os_username=MYNAME&os_password=MYPASSWORD

    If this question already exists - i'm sry, i read the most comments here but i didn't see a question about how to... and in the documentation i can't find an explanation.

    Best regards,
    Jan

    1. Oct 15, 2010

      Hi Jan. You may be able to use the URL encoded space, which is "%20", in your URL. So it would look something like jiraissues:url=CONTENT&os_username=FIRSTNAME%20LASTNAME&os_password=MYPASSWORD

  70. Nov 12, 2010

    Hi, someone faced this problem or know a solution:

    I have a page with the jiraissue macro included, it works well when I visit the page as authenticated user (same account in Confluence 3.1 and Jira 4.1.1). When I visit the page without login (anonymous) the I will get an error message: Error formatting macro: jiraissues: java.lang.RuntimeException: Bad Request

    Any Idea how to resolve this?

    This error message can be accepted, but it create tremendous exception entries in the log file. The log file is blown up when someone create an RSS feed setup which strive this page. The RSS is anonymous and triggers jira every minute....
    Thanks for help.

  71. Feb 01, 2011

    I have the same problem @Wallabee described. Searched the internet for answers but none were to be found. I have my confluence server as a Truested Applications in JIRA, use the same usernames in both installations. I have verified the jiraissues macro is setup correctly (by using it to read Atlassian's public JIRA site). My macro is setup us:


    The error I get is:

    I have Confluence 3.4.7 and JIRA v4.2.3-b590#590.

  72. Feb 18, 2011

    I have a question, can this Jira macro and Confluence not suck? wiki markup = fail.

    Just to get these columns to be fully expanded seems to be impossible. First of all why can't the descriptions column expand or any column expand to fit the actual width of the macro? Second, why is it set to be minimized every time the page or macro is loaded (see pic 2)? Having to constantly expand the height of this thing is a real annoyance. Yes I know I can set a height, setting a fixed height or width is stupid because with some instances there maybe 20 fields and other times 1 or 2. Turning renderMode to static solved a couple of those issues but now I'm getting requests to make it sortable again. If it's dynamic, make it DYNAMIC. Fit widths, columns and expand the view.

    Make the columns fit the width!

    I'm frustrated if you can't tell. Please do something to fix this.

    1. Feb 14, 2011

      Hallo Noah
      I'm sorry to hear you're frustrated. Unfortunately, adding a comment to the documentation is unlikely to get the problem fixed. To communicate with our development team and product managers, please would you add an issue to our issue tracker at http://jira.atlassian.com.
      Cheers, Sarah

      1. Feb 18, 2011

        Tried, no one can seem to help or explain why the jira issues macro behaves like that. Be dynamic, fill to the content, expand, etc.

  73. Feb 18, 2011

    Anonymous

    If you receive java.lang.RuntimeException: Not Found error this is may be beacause you are using port redirection with firewall and both jira and confluence are on the same machine.

    Port redirection may not work correct when trying to access url from localhost.

    Workaround is to add original port number in urls.

    For example, if your jira instance is accessible for users via url: http://jira.myhost.com, and this location is transparently mapped via firewall to http://jira.myhost.com:8080 you should use second url form in jiraissues macro for it to work correctly.

    Or you may fix your firewall configuration :)

  74. Mar 31, 2011

    Sorry, not sure why the syntax disappeared from my comment. But here it is again:

    1. Jun 20, 2011

      Vidhi, it is probably best to raise a support case at https://support.atlassian.com, so we can help diagnose your problem.

  75. Apr 09, 2011

    Anonymous

    How do i adjust the width of the columns?

    1. Apr 11, 2011

      I found a way by inject some format attributes by using table-plus macro in addition.
      Please look into example that is inserted at this comment.

      1. Apr 13, 2011

        Thanks Stefan that worked.

  76. Apr 11, 2011

    Anonymous

    Hi everyone,

    Quick question, but first here's some background: One of Confluence 3.5's largest improvements is its ability to integrate with Jira. However, if you have a project key with alphanumeric characters, "Insert" does not work with Recently Viewed Jira issues. After you save or preview the insert, a macro error message pops up. I've run multiple tests to make sure that the alphanumeric characters are the issue.  I have found that if there is a number ANYWHERE in a Jira project key, Confluence will produce in error message when trying to display this project's issues. Has anyone had this problem? 

    Thanks,

    Eddie

    1. Apr 11, 2011

      Sounds like that case didn't get tested. I'd file a bug on it at http://jira.atlassian.com/browse/CONF

      ~Matt

      1. Apr 11, 2011

        Anonymous

        Thanks for the reply Matt, I've created one here just in case you are interested in the outcome: http://jira.atlassian.com/browse/CONF-22183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

        ~Eddie

  77. Apr 27, 2011

    Anonymous

    With proper formatting this time...

    Is there a way to use the data from this macro within a chart? 

    For example, say that this jiraissues macro:

    {jira:project = "Jira50" and IssueType = "Enhancement" and "Story Points" > 0|columns=FixVersion;Story Points}
    

    returns 3 rows

    Fix Version

    Story Points

    5.2

    3

    5.2

    3

    5.3

    8


    Ideally, the data returned would be of the following format, so that I could wrap the chart macro around it

    || Fix Version || Story Points ||
    | 5.2  | 3 |
    | 5.3  | 3 |
    | 5.3 | 8 |

  78. May 03, 2011

    I am using the Jira issues macro and love it, but was wondering if there is a way to add a row number to the table (other than explicitly defining a # in the Jira issues).  We use GHRank ordering, but the numbers don't start with 1 and aren't in order - I need my issues view to be numbered 1-n

    Thank you

    1. May 04, 2011

      Hi Sarah,

      possibly you can use table-plus macro in addition with jiraissues. Table plus macros provides an "autoNumber" attribute, that could work for you.
      I used combination of these 2 macros for another case. Following you will find the details. http://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro?focusedCommentId=236586816#comment-236586816

  79. May 29, 2011

    Windows Server 2008 R2, Conf 3.5.4, Jira 4.3.4 (two instances of Tomcat on same server), Application links appear correctly configured for trusted apps. The issues list displays correctly in flexigrid in Confluence.
    However, the title row for the macro flexigrid displays a url instead of the title.

     
    the code that actually appears in the title row is this:

    In other words, everything seems to be working properly except the title row doesnt seem to be properly parsing the title.
    The correct title should be "JIRA issues", as shown appended to the URL.
    I vaguely recall seeing this problem before, but cant find it in my records ....any tips would be really appreciated.

  80. Jun 06, 2011

    Hello,

    According to jiraportlet macro, in the help there is written

    {jiraportlet:url=http://jira.portlet.url}
    

    How to find in Jira v.4.x the portlet.url, please ?

    With jiraissues macro, I get this error on the page
    jiraissues: Unable to determine if sort should be enabled.
    What is the problem ?

    Here below the wiki code

    {jiraissues:url=https://jira.vsct.fr/jira/sr/jira.issueviews:searchrequest-xml/temp
    /SearchRequest.xml?jqlQuery=project+%3D+PILCSI+AND+issuetype+%3D+%22Action+%C3%A0+piloter%22+AND+status+in+
    %28%22En+attente+d%27info%22%2C+%22En+cours%22%2C+%22To+do+%28%C3%A0+faire%29%22%29+ORDER+BY+due+ASC&tempMax=1000}
    

    (I have put CR at end of lines here to enable you to see all)

    Thank you for your help

  81. Jun 09, 2011

    Anonymous

    Few questions:

    1. Is there any way to specify default sorting (tried order by...didn't work)
    2. Is there a way to group jiras?  I want to group by fix version
    3. Is there a way to only show the main jira and not the sub tasks?
    4. Is there a way to filter the issues (if I can't do group by, want to have separate tables for each fix version)
  82. Jun 14, 2011

    Anonymous

    Is there any way this macro can retrieve the SVN commits associated to the JIRA tickets? I would appreciate if you can give me an example to do the same. Thanks!

  83. Jun 21, 2011

    I am attempting to display a list of the "New Features" in our next release in confluence.  We are creating a wiki page within confluence for each new feature to detail requirements, and attach assets.  I added a custom field in JIRA that I put in the link to the confluence page.  JIRA is picking up the fact that it is a link, so I can click on it, and get to the page, but when I display the list of issues in confluence using the macro, it shows the <a href="link"> tag, instead of providing a link.  

    Is there any way to have the link I enter in JIRA show up as a link within confluence?

    1. Jun 21, 2011

      Above was what happened as free text.  I also tried it as a link, but in that case, it displays the url, but it is still not a clickable link

  84. Sep 02, 2011

    Anonymous

    I am in the need to just pull the contents of a particular field without the table that is written by the JIRA issue type

    {jira:http://example.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=key+%3D+CONF-1181\|columns=description|title=}

    returns me the description with a box, but what I just need is that in ASCII so I can put it in a nice report. and format in a nice way via confluence.

    1. Sep 27, 2011

      Anonymous

      Same here! Is this possible?

  85. Sep 20, 2011

    Anonymous

    I used the jiraissues macro to create an issues table on my project wiki page.  The table is created but only the first field is populated the remaining fields are empty.  If I click on the first field it takes me to the issue.  We have Jira Studio.

    {jiraissues:url=https://audigygroup.jira.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+PULSE+AND+Status+%21%|columns=type; key; summary; priority}

     

     

     

    1. Sep 20, 2011

      Hi, you may separate the columns by comma: e.g. columns=type,key,summary,priority
      This is the normal case it works, may the parameter description need to be fixed.

      1. Sep 20, 2011

        Anonymous

        Sorry, I forgot to change the semi-colons back to commas before I cut and pasted.  Changing to semi-colons was one of my troubleshooting attempts.  Here is the modified script.

        {jiraissues:url=https://audigygroup.jira.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+PULSE+AND+Status+%21%|columns=type, key, summary, priority}

        1. Sep 20, 2011

          Anonymous

          Ok, I figured it out (with a little help from a friend).  If you have a space next to the comma in the columns section it doesn't populate.  I removed the spaces and now it works.

          Thanks.

  86. Sep 28, 2011

    Anonymous

    Our users would like to emphasize due dates using colours and different fonts. Similar to what this attempt achieves in JIRA: https://studio.plugins.atlassian.com/wiki/display/JODCF/Home

     

    Any ideas on how to do that?

    Thanks in advance!

  87. Oct 26, 2011

    how am I supposed to pass parameter on JIRA 4.0 ? As I have no more access to the macro code ({jiraissues:...}), I would have expected the macro wizard to allow me to input those parameters... is this something that has been forgotten or am I missing something ?

     

    thank's.

     

    Nicolas.

     

    ------> my mistake, I was using the jiraissue and not the jiraissues...

    1. Nov 17, 2011

      Anonymous

      I've got answer from support that so far you cannot input parameters for jiraissue (for jiraissues you can of course (smile) )

  88. Dec 29, 2011

    Anonymous

    How can I use metadata inside the jiraissues link. For example:

    Code

    thanks for help.

    1. Feb 01, 2012

      I'm having a similar problem where I want to make the query dnamic.

      but when the page renders, the macro just displays it as a URL link rather than as the JIRA issues widget.

  89. Jan 09, 2012

    Hi all,

     

    i need help!

    I have the problem that one user get no issues displayed instead he gets "no item" message.

    He is admin in confluence and JIRA and belong as developer to the JIRA project.

    The JIRA issue filter is shared and he can view the result in jira.

    All other users do not have the problem.

    Any idea what the problem is?

    Thank you in advance!

    Alex

  90. Jan 25, 2012

    Anonymous

    Greetings.

    I am a fairly new Confluence user, however I have been using the Jiraissues macro for some time. With the Confluence upgrade, a text field I display in my Jira query has embedded html <br> tags which causes the text to not wrap and be displayed as one huge long line. The custom field I am using is a simple text box. Are there any ideas on where the <br> tags are coming from? BTW, I did view the XML which is copied into my Jiraissues macro and the section of the XML I am concerned with looks like this: (? used to replace original text).

    <customfields>
     
     <customfield id="customfield_10455"key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
     
    <customfieldname>Acceptance Criteria</customfieldname>
     
     <customfieldvalues>
     
     <customfieldvalue>
    Item-715.01: ????????????????????????????. <br/> Item-715.02: ??????????????????????????????????? <br/> Item-715.03: ????????????????????????? <br/> Item-715.08: ????????????????????????????????????????  <br/> <br/> <br/>
    </customfieldvalue>
     
    </customfieldvalues>
     
    </customfield>

    Should look like:
    Item-715.01: ????????????????????????????
    Item-715.02: ???????????????????????????????????
    Item-715.03: ?????????????????????????
    Item-715.08: ????????????????????????????????????????

    One other question. Sorry. Is there a way to control the column widths in the Jiraisssues query (static mode)?
    Thank you very much for your time.
    Craig
    1. Jan 26, 2012

      Hi Craig,

      look into Re: JIRA Issues Macro it will help you to set advanced column attributes.

  91. Feb 07, 2012

    How can we construct a parameter with JQL query containing "+" symbol?

    For example, we need to get all JIRA issues with summary containing both words from the phrase "example phrase".

    The corresponding JQL quiry should be like this

    since space symbol acts like OR operator. That means

    returns all issues containing "example" or "phrase".

    When we are using the code like this:

    (with %22example+phrase%22 inside) we are receiving ALL ISSUES issues containing "example" OR "phrase".

    We have checked the request header and it contains

    So %22example+phrase%22 was substituted with %2522example%2520phrase%2522 that means "+" was substituted with " " space symbol.

    When we tried %22example%2Bphrase%22 in "jqlQuery=..." we have received the same incorrect list of all issues since  it was substituted with %2522example%2Bphrase%2522 

     We checked that the correct value for the GET request would be %2522example%252Bphrase%2522

    but we couldn't obtain this. Trying to put %22example%252Bphrase%22  "jqlQuery=..." we have received nothing since it was substituted with 2522example%25252Bphrase%2522  


     

    1. Feb 03, 2012

      When I enter it in JIRA and get the XML link, it converts the + to a %2B, have you tried that?

      1. Feb 03, 2012

        We have tried. Received "The JIRA server was not able to process the search. This may indicate a problem with the syntax of this macro...." 

        Your suggested

        was converted to

        Symbol "&" from your suggestion is converted to "%26" - its URL encoding. JIRA didn't like it.

         

    2. Feb 03, 2012

      Indeed, it's very strange. Whether it is not possible to receive JIRA issues with summary or any other field containing more than 1 word?
      It is pretty simple to replicate this issue. The template is the following:

      Isn't it possible to get issues containing both "example" and "phrase"?