Hi @shuoyuh,
Thanks for posting your question.
It is possible to create the report where you can add hyperlinks for the linked issues & get their issue type as in my example below:
You will need to create following calculated measures keeping in mind that:
-
you would need to replace “Is blocked by” with the name of your issue link
-
add link to your site where it says “YOUR SITE HERE”.
-
choose Formatting → Text → Markdown for the measures with the hyperlinks
Issue is blocked by (hyperlink):
CASE
WHEN IsEmpty([Issue].CurrentHierarchyMember.get('Is blocked by'))
OR [Issue].CurrentHierarchyMember.get('Is blocked by') = "null"
THEN
""
ELSE
"[*" ||
[Issue].CurrentHierarchyMember.get('Is blocked by') ||
"*](http://YOUR_SITE_HERE/browse/" ||
[Issue].CurrentHierarchyMember.get('Is blocked by') ||
")"
END
Issue is blocked issue type:
Generate(
[Issue].[Issue].GetMembersByKeys(
[Issue].CurrentMember.getstring('Is blocked by')
),
[Issue Type].[Issue Type].getMemberNameByKey(
[Issue].CurrentHierarchyMember.get('Issue type ID')
),
","
)
Issue is blocked by blocked by (hyperlink):
Generate(
Filter(
[Is blocked by].[Is blocked by].GetMembersByKeys(
[Issue].CurrentHierarchyMember.Get('Is blocked by')
),
NOT IsEmpty(
[Is blocked by].CurrentMember.GetString('Is blocked by')
)
),
Generate(
[Issue].[Issue].GetMembersByKeys(
[Is blocked by].CurrentMember.GetString('Is blocked by')
),
"[*" ||
[Issue].CurrentMember.key ||
"*](http://YOUR_SITE_HERE/browse/" ||
[Issue].CurrentMember.key ||
")"
),
chr(10)
)
Is blocked by blocked by issue type:
Generate(
--set on linked tests
{Filter(
[Is blocked by].[Is blocked by].GetMembersByKeys(
[Issue].CurrentHierarchyMember.Get('Is blocked by') ),
NOT IsEmpty([Is blocked by].CurrentMember.GetString('Is blocked by'))
)},
Generate(
[Issue].[Issue].GetMembersByKeys([Is blocked by].CurrentMember.GetString('Is blocked by')),
[Issue Type].[Issue Type].getMemberNameByKey(
[Issue].CurrentHierarchyMember.get('Issue type ID')
)
),
chr(10)
)
Best,
Marita // support@eazybi.com