Forums

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

JQL Query in Xporter Word Export

oliver b_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 3, 2021

I am trying to get a list of defects associated to affectedVersions within a Test Plan. 

My Query sofar:

${set(count_defect,0)}
#{for c=JQLIssuesCount|clause=project = ${ProjectKey} AND issuetype = Defect AND affectedVersion in ("PROJ_BO_2.3.34.14.40", "PROJ_BO_2.3.34.14.41")}
${set(count_defect,%{${count_defect} + 1})}
#{end}
Number of Defects: ${count_defect}

Currently I am inserting the AffectedVersions manually. I would like to have that taken from the Test Plans FixVersion

I am sure there is a simple solution, but my Xporter skills are not that good (yet). 

 

Thanks!

1 answer

0 votes
Rogério Paiva - Xray Xporter
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 9, 2021

Hi @oliver b_ 

You may try the following:

Thank you.

Kind regards,
Rogerio Paiva [Xporter Support Team]

Suggest an answer

Log in or Sign up to answer