Difference between revisions of "Template: ComponentRN"
From Genesys Documentation
(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(' | + | |fields=CONCAT ('[https://jira.genesys.com/browse/',JiraIssue.Issue,' ',JiraIssue.Issue,']')=Issue,IssueType.Name=Issue Category,DeploymentType.Name=Deployment Type,LocalContent=Description,SupportingDocumentation |
− | |format= | + | |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}}" 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.