Difference between revisions of "Template: ComponentRN"

From Genesys Documentation
Jump to: navigation, search
(Update package: RN Automation: Data Structure)
Line 50: Line 50:
 
{{#cargo_query:tables=ArticleCloudRN|field=_pageName|where=ComponentId HOLDS '{{{ComponentId|}}}' AND ArticleCloudRN._pageName LIKE "%Internal%"|format=ul|default=None yet!}}
 
{{#cargo_query:tables=ArticleCloudRN|field=_pageName|where=ComponentId HOLDS '{{{ComponentId|}}}' AND ArticleCloudRN._pageName LIKE "%Internal%"|format=ul|default=None yet!}}
 
|}{{#cargo_query:
 
|}{{#cargo_query:
tables=ComponentRN,JiraIssue,IssueType,DeploymentType
+
tables=ComponentRN,Issue,IssueCategory
|join on=ComponentRN._pageName=JiraIssue._pageName,JiraIssue.IssueType=IssueType.Id,ComponentRN.DeploymentTypeId HOLDS DeploymentType.Id
+
|join on=ComponentRN._pageName=Issue._pageName,Issue.IssueCategoryId=IssueCategory.Id
|fields=CONCAT ('[https://jira.genesys.com/browse/',JiraIssue.Issue,' ',JiraIssue.Issue,']')=Issue,IssueType.Name=Issue Category,<!--DeploymentType.Name=Deployment Type,-->IF(LENGTH(LocalContent) > 100, CONCAT(
+
|fields=CONCAT ('[https://jira.genesys.com/browse/',Issue.TicketNumber,' ',Issue.TicketNumber,']')=Issue,IssueCategory.Name=Issue Category,<!--DeploymentType.Name=Deployment Type,-->IF(LENGTH(LocalContent) > 100, CONCAT(
 
SUBSTRING(LocalContent, 1, 100),"..."), LocalContent)=Description,SupportingDocumentation
 
SUBSTRING(LocalContent, 1, 100),"..."), LocalContent)=Description,SupportingDocumentation
 
|format=dynamic table
 
|format=dynamic table
|where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND ReleaseNumber="{{#explode:{{FULLPAGENAME}}|/|2}}" AND LocalContent IS NOT NULL AND IssueType IS NOT NULL
+
|where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND ReleaseNumber="{{#explode:{{FULLPAGENAME}}|/|2}}"
|group by=JiraIssue.Issue
+
|group by=Issue.TicketNumber
|order by=IssueType.PrintOrder ASC
+
|order by=IssueCategory.PrintOrder ASC
 
}}__NOCACHE__
 
}}__NOCACHE__
 
__TOC__
 
__TOC__

Revision as of 16:38, June 9, 2021

This is the "ComponentRN" template. It should be called in the following format:

{{ComponentRN
|Highlight=
|ComponentId=
|ReleaseNumber=
|ReleaseDate=
|ReleaseTypeId=
|JQL=
|DeploymentTypeId=
}}

Edit the page to see the template text. This template defines the table "ComponentRN". View table.

Retrieved from "https://all.docs.genesys.com/Template:ComponentRN (2024-07-28 02:31:31)"