Difference between revisions of "Template: ComponentRN"

From Genesys Documentation
Jump to: navigation, search
(Update package: RN Automation)
 
(Update package: RN Automation)
Line 10: Line 10:
 
|ReleaseDate=
 
|ReleaseDate=
 
|JQL=
 
|JQL=
|DeploymentType=
+
|DeploymentTypeId=
 
}}
 
}}
 
</pre>
 
</pre>
 
Edit the page to see the template text.
 
Edit the page to see the template text.
{{#cargo_declare:_table=ComponentRN|Highlight=|ComponentId=List (,) of String|ReleaseNumber=String|ReleaseType=String|ReleaseDate=String|JQL=String|DeploymentType=String}}
+
{{#cargo_declare:_table=ComponentRN|Highlight=|ComponentId=List (,) of String|ReleaseNumber=String|ReleaseType=String|ReleaseDate=String|JQL=String|DeploymentTypeId=List (,) of String}}
</noinclude><includeonly>{{#cargo_store:_table=ComponentRN|Highlight={{{Highlight|}}}|ComponentId={{{ComponentId|}}}|ReleaseNumber={{{ReleaseNumber|}}}|ReleaseType={{{ReleaseType|}}}|ReleaseDate={{{ReleaseDate|}}}|JQL={{{JQL|}}}|DeploymentType={{{DeploymentType|}}} }}
+
</noinclude><includeonly>{{#cargo_store:_table=ComponentRN|Highlight={{{Highlight|}}}|ComponentId={{{ComponentId|}}}|ReleaseNumber={{#explode:{{FULLPAGENAME}}|/|2}}
 +
|ReleaseType={{{ReleaseType|}}}|ReleaseDate={{{ReleaseDate|}}}|JQL={{{JQL|}}}|DeploymentTypeId={{{DeploymentTypeId|}}}}}
  
 
{{#mintydocs_topic:
 
{{#mintydocs_topic:
|display name=Base unit of content for {{#cargo_query:tables=Component|fields=Name|where=Id="{{{ComponentId|}}}"|no html}} - {{{ReleaseNumber|}}}
+
|display name=Base unit of content for {{#cargo_query:tables=Component|fields=Name|where=Id="{{{ComponentId|}}}"|no html}} - {{#explode:{{FULLPAGENAME}}|/|2}}}}
}}
 
 
 
Link to page in use: {{#cargo_query:tables=ArticleCloudRN|field=_pageName|where=ComponentId HOLDS '{{{ComponentId|}}}'}}
 
  
 +
==Component RN Definition==
 
{| class="wikitable"
 
{| class="wikitable"
 
! Component
 
! Component
Line 28: Line 27:
 
|-
 
|-
 
! Deployment Type
 
! Deployment Type
| {{{DeploymentType|}}}
+
| {{#arraymap:{{{DeploymentTypeId|}}}|,|x|{{#cargo_query:tables=DeploymentType|fields=Name|where=Id="x"|no html}}}}
 
|-
 
|-
 
! Release Number
 
! Release Number
| {{{ReleaseNumber|}}}
+
| {{#explode:{{FULLPAGENAME}}|/|2}} ([[Special:MovePage/{{FULLPAGENAME}}|Change release number]])
 
|-
 
|-
 
! Release Type
 
! Release Type
Line 44: Line 43:
 
! JQL
 
! JQL
 
| {{{JQL|}}}
 
| {{{JQL|}}}
 +
|-
 +
! Links
 +
| Links to customer-facing pages in use:
 +
{{#cargo_query:tables=ArticleCloudRN|field=_pageName|where=ComponentId HOLDS '{{{ComponentId|}}}'|format=ul}}
  
 
|}{{#cargo_query:
 
|}{{#cargo_query:
tables=JiraIssue
+
tables=ComponentRN,JiraIssue,IssueType
|intro=<h2>New In This Release</h2>
+
|join on=ComponentRN._pageName=JiraIssue._pageName,JiraIssue.IssueType=IssueType.Id
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)
+
|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)
|format=ul
+
|format=outline
|where=_pageName="{{FULLPAGENAME}}" AND Type="New"
+
|outline fields=Name
|default=}}{{#cargo_query:
+
|where=ComponentRN.ComponentId HOLDS '{{{ComponentId|}}}' AND ReleaseNumber="{{#explode:{{FULLPAGENAME}}|/|2}}" AND LocalContent IS NOT NULL AND IssueType IS NOT NULL
tables=JiraIssue
+
|order by=IssueType.PrintOrder ASC
|intro=<h2>Security Fixes</h2>
 
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 
|where=_pageName="{{FULLPAGENAME}}" AND Type="Security"
 
|default=
 
}}{{#cargo_query:
 
tables=JiraIssue
 
|intro=<h2>Deprecations</h2>
 
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 
|where=_pageName="{{FULLPAGENAME}}" AND Type="Deprecations"
 
|default=}}{{#cargo_query:
 
tables=JiraIssue
 
|intro=<h2>Dependencies</h2>
 
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 
|where=_pageName="{{FULLPAGENAME}}" AND Type="Dependencies"
 
|default=}}{{#cargo_query:
 
tables=JiraIssue
 
|intro=<h2>Resolved Issues</h2>
 
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 
|where=_pageName="{{FULLPAGENAME}}" AND Type="Resolved"
 
|default=}}{{#cargo_query:
 
tables=JiraIssue
 
|intro=<h2>Known Issues</h2>
 
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 
|where=_pageName="{{FULLPAGENAME}}" AND Type="Known Issue"
 
|default=}}{{#cargo_query:
 
tables=JiraIssue
 
|intro=<h2>These issues need a type - please fix!</h2>
 
|fields=CONCAT ('<b>',Issue, '</b><br/>',LocalContent)|format=ul
 
|where=_pageName="{{FULLPAGENAME}}" AND Type IS NULL
 
|default=
 
 
}}
 
}}
 
<!--
 
<!--
 
<h3>{{{Issue|}}}</h3>
 
<h3>{{{Issue|}}}</h3>
Type: {{{Type|}}}
+
Type: {{{IssueType|}}}
 
Last Updated: {{{LastUpdated|}}}
 
Last Updated: {{{LastUpdated|}}}
  

Revision as of 14:01, February 25, 2021

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

{{ComponentRN
|Highlight=
|ComponentId=
|ReleaseNumber=
|ReleaseType=
|ReleaseDate=
|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-11-09 10:31:59)"