Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-1300

Variable inside the second "For issues" doesn't work

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release 5.1.3
    • Release 5.8.0
    • Xporter Engine
    • None
    • UNCOVERED

    Description

      From Xporter version 5.1.3 the user isn't available to get the value associated to the JQLIssueCount on the second cycle.

      For example:

      #{for s=JQLIssuesCount|clause=project= Xporter}
      #{for x=JQLIssuesCount|clause=project = Xporter and issuetype = Sub-task}
      #{if (%{'${x}'>0})}
      ________________________________________
      @{title=${JQLIssues[x].Key}|href=${BaseURL}/browse/${JQLIssues[x].Key}}
      #{end}
      #{end}
      #{end}
      
      

      On the example above, the value ${x} on the second cycle is empty on the second iteration.

      Attachments

        Activity

          People

            rmbr Rui Rodrigues
            afro Andre Fernandes Rodrigues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: