Uploaded image for project: 'Xporter for Jira Cloud'
  1. Xporter for Jira Cloud
  2. XPORTERCLOUD-2330

Sort By Key doesn´t work in a LinksCount loop with multiple confluence links on the Issues

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • Xporter Cloud 2.2.0
    • Continuous Delivery
    • Xporter Engine
    • None

    Description

      Description
      If you apply a Sort By Key in a LinksCount loop to export Issues with multiple confluence links, it will not export it.

      How to reproduce

      1. Create an Issue and mention it on two Confluence pages ( the issue only happens with more than 1 Confluence link)
      2. Create a template that iterates with LinksCount and apply SortBy
        Use the following code:
        &{for issues}
        #{for k=LinksCount|sortby=Key}
        Parent: ${Key} Link: ${Links[k].Key}
        #{end}
        &{end}
        

      Actual result/Attachments
      The export will be empty. If the Sort By Key is removed, the export works correctly.

      Expected result
      It should be able to export even with more than 1 Confluence pages.

      Workaround
      At the moment, there´s no workaround unless the Sort By is removed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mrap Mario Peixoto
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: