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}
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.