Difference between revisions of "Template: ComponentRN"

From Genesys Documentation
Jump to: navigation, search
(Update package: RN Automation: Data Structure)
Line 30: Line 30:
 
| {{#explode:{{FULLPAGENAME}}|/|2}} ([[Special:MovePage/{{FULLPAGENAME}}|Change release number]])
 
| {{#explode:{{FULLPAGENAME}}|/|2}} ([[Special:MovePage/{{FULLPAGENAME}}|Change release number]])
 
|-
 
|-
! Release Type
+
!Release Type
 
| {{#arraymap:{{{ReleaseTypeId|}}}|,|x|{{#cargo_query:tables=ReleaseType|fields=Name|where=Id="x"|no html}}}}
 
| {{#arraymap:{{{ReleaseTypeId|}}}|,|x|{{#cargo_query:tables=ReleaseType|fields=Name|where=Id="x"|no html}}}}
 
|-
 
|-
Line 46: Line 46:
 
{{#cargo_query:tables=ArticleCloudRN|field=_pageName|where=ComponentId HOLDS '{{{ComponentId|}}}'|format=ul}}
 
{{#cargo_query:tables=ArticleCloudRN|field=_pageName|where=ComponentId HOLDS '{{{ComponentId|}}}'|format=ul}}
 
|}{{#cargo_query:
 
|}{{#cargo_query:
tables=ComponentRN,JiraIssue,IssueType
+
tables=ComponentRN,JiraIssue,IssueType,DeploymentType
|join on=ComponentRN._pageName=JiraIssue._pageName,JiraIssue.IssueType=IssueType.Id
+
|join on=ComponentRN._pageName=JiraIssue._pageName,JiraIssue.IssueType=IssueType.Id,ComponentRN.DeploymentTypeId HOLDS DeploymentType.Id
|fields=CONCAT('<h3>',IF (IssueType.Name="New","What's New", IssueType.Name),'</h3>')=Name,IF (SupportingDocumentation IS NOT NULL, CONCAT (LocalContent,'</br><b>More info</b>: ',SupportingDocumentation), LocalContent)
+
|fields=CONCAT ('[https://jira.genesys.com/browse/',JiraIssue.Issue,' ',JiraIssue.Issue,']')=Issue,IssueType.Name=Issue Category,DeploymentType.Name=Deployment Type,LocalContent=Description,SupportingDocumentation
|format=outline
+
|format=dynamic table
|outline fields=Name
 
 
|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}}" AND LocalContent IS NOT NULL AND IssueType IS NOT NULL
 +
|group by=JiraIssue.Issue
 
|order by=IssueType.PrintOrder ASC
 
|order by=IssueType.PrintOrder ASC
 
}}__NOCACHE__
 
}}__NOCACHE__

Revision as of 21:04, March 22, 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 00:18:52)"