I'm new in Xporter and trying to modify XrayTestSet template.
In Requirement section, requirements are listed by
#{if (%{'${jqlcount:issuekey in testRequirements("${Tests[j].Key}")}'>'0'})}
Requirement Key
Requirement Summary
#{for z=JQLIssuesCount|clause= issuekey in testRequirements('${Tests[j].Key}')}
@{title=${JQLIssues[z].Key}|href=${BaseURL}/browse/${JQLIssues[z].Key}}
${JQLIssues[z].Summary}
#{end}
#{end}
I want to add more jql queries like Tests[j].Labels='XXX' or Tests.[j].Components='YYY'.
How can I edit the condition?
Hi Hyungjun Kim,
In the clause statement you can place a standard JQL query.
Something like this:
...clause= issuekey in testRequirements('${Tests[j].Key') and Labels='XXX' and Components='YYY'...
Best regards,
Xporter Team
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.