Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Use multiple JQL queries

Hyungjun Kim October 7, 2018

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?

1 answer

0 votes
Inês Silva
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 12, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events