Hi Markus,
Try this:
#{for i=JQLIssuesCount|clause= issue in linkedIssues ('${Links[n].Key}')} Debug line 2 ${JQLIssues[i].Key} - ${JQLIssues[i].Summary} #{end}
Cheers,
RMRodrigues.
Hi Markus,
You can get those issues by filtering the issue link type.
Try this example:
#{for links| filter=%{‘${Links[n].LinkType}’.equals(‘is Epic of’)}} ${Links[n].Key} - ${Links[n].Summary}- ${Links[n].LinkType} #{end}
I hope this helps you.
Best regards,
RMRodrigues.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thank you very much your quick help. This seems to be fixed now.
Please additionally let me know if it’s possible to iterate to the links of a linked issue.
Currently my template looks this way:
User Manual
&{for issues|filter=%{'${IssueTypeName}'.equals('Epic')}}
${wiki:Description}
#{for n=LinksCount|filter=%{‘${Links[n].LinkType}’.equals(‘is Epic of’)}}
Debug line 1
#{if (%{'${Links[n].IssueTypeName}'.equals('Story')})}
${wiki:Links[n].Description}
#{for k=Links[n].LinksCount}
Debug line 2
#{if (%{'${Links[k].IssueTypeName}'.equals('New Feature')})}
${wiki:Links[k].Description}
#{end}
#{end}
#{end}
#{end}
&{end}
Unfortunately “Debug line 2” is never printed although there are “New feature” issues linked via “relates to” to their corresponding user story which are printed.
Best regards
Markus
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.