I cann't see the issuetype: Bug in my Xporter-Template

Ali Hamouotu May 15, 2018

Hi dear Community Members, 

i have a problem with my xporter-template! Could help me please?

I'm trying to create a test Report in Xporter, and i already have all issues in my Report without Bug!! my template cannot find the bug in my Test,! 

i use the folowing code in the template: 

#{if (%{'${jqlcount: key in testBug('${Key}')}'.equals('0')})}

None

#{end}

#{if (%{!'${jqlcount: key in testBug('${Key}')}'.equals('0')})}

Key     |   Summary |  Status | Priority | Description | Created | Updated 

#{for z=JQLIssuesCount|clause= key in testBug('${Key}')}

${JQLIssues[z].Key} | ${JQLIssues[z].Summary}| ${JQLIssues[z].Status}| ${JQLIssues[z].Priority}| ${JQLIssues[z].Description} | ${JQLIssues[z].dateformat("dd-MM-yyyy  HH:mm:ss"):Created} | ${JQLIssues[z].dateformat("dd-MM-yyyy  HH:mm:ss"):Updated}

#{end}

#{end}

2 answers

1 vote
Mafalda de Azevedo Mendes May 25, 2018

Hi @Ali Hamouotu,

testBug("${Key}") is not an existing JQL function.
I think this JQL will give you the expected result:

issuetype = Bug AND key in linkedIssues("${Key}","tests")

 

If you have any more questions feel free to ask.

 

Best regards,

Xpand Add-Ons Team 

0 votes
Ali Hamouotu May 25, 2018

Hi @Mafalda de Azevedo Mendes,

Thank you a loot for your help! I'm still trying to make a Report with Xporter  to have a Requirements in my project include the ather issue like (Test, TestExcusion, Bugs) which belong to this Requirment. 

Here is the link to my code

https://docs.google.com/document/d/172oSYJmGPW4nOXZJuQNy7nzIGW9cR9P5-eFVh281wI0/edit#

Thanks a loot

Ali 

Mafalda de Azevedo Mendes May 25, 2018

To export the issues linked to the Requirement you can use:

#{for links}
${Links[n].Key}
...
#{end}

If you only want the Tests, Test Executions and Bugs linked to the current Requirement you can filter the links:

#{for links|filter=%{'${Links[n].IssueTypeName}'.equals('Test') || '${Links[n].IssueTypeName}'.equals('Test Execution') || '${Links[n].IssueTypeName}'.equals('Bug')}
${Links[n].Key}
...
#{end}

  Let me know if now you can make a Report with Xporter.

 

Best regards,

Xpand Add-Ons Team

Ali Hamouotu May 30, 2018

Hi @Mafalda de Azevedo Mendes

Thank you a loot for your support, but i still cannot to get the details from linked Issues to the Requirement 

the code what you sent me doesnt work inside my code! I did it following way: 

https://docs.google.com/document/d/172oSYJmGPW4nOXZJuQNy7nzIGW9cR9P5-eFVh281wI0/edit#heading=h.7m7oaysidwrz

In need my Report in this structur: 

1.Requirements

   1.1. Test linked to Requirement (Key, summary, Description, Teststeps)

   1.2. TestExcution to the Test

   1.3 Bug to the Test

is it posible to get this structure?

 

Thanks

Best Regards

Ali

Ali Hamouotu May 30, 2018

abc

Ali Hamouotu May 30, 2018

 

     

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events