This site is no longer actively maintained. It exists for historical purposes as an example of Phabricator integration and Lua scripting.

Difference between revisions of "Template:Phabricator Task"

From cpt
m (Text replacement - "Core Platform Team Workboards" to "Platform Team Workboards")
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 37: Line 37:
| style="text-align:left;" | {{#ask:[[-Has subobject::{{FULLPAGENAME}}]]|?Project|?Column|mainlabel=-|format=ul|sort=Project|template=Project Link}}
| style="text-align:left;" | {{#ask:[[-Has subobject::{{FULLPAGENAME}}]]|?Project|?Column|mainlabel=-|format=ul|sort=Project|template=Project Link}}
|-
|-
! style="text-align:left;" | Core Platform Team Initiative Column
! style="text-align:left;" | Platform Engineering Initiative Column
| style="text-align:left;" | {{#show:{{FULLPAGENAME}}|?CPT Initiative}}
| style="text-align:left;" | {{#show:{{FULLPAGENAME}}|?PET Initiative}}
|-
|-
! style="text-align:left;" | Platform Team Workboards Column
! style="text-align:left;" | Platform Team Workboards Column
| style="text-align:left;" | {{#show:{{FULLPAGENAME}}|?CPT Column}}
| style="text-align:left;" | {{#show:{{FULLPAGENAME}}|?PET Column}}
|-
|-
! style="text-align:left;" | Subtasks
! style="text-align:left;" | Subtasks
Line 62: Line 62:
|outrotemplate=Table Outro
|outrotemplate=Table Outro
|limit=500
|limit=500
}}
{{#get_web_data:
url=https://gerrit.wikimedia.org/r/changes/?q=bug:{{PAGENAME}}
|format=JSON
|data=number=_number,subject=subject,status=status,owner=owner,created=created,updated=updated,project=project
|json offset=5
}}{{#display_external_table:
template=Gerrit Table Row
|intro template=Gerrit Table Intro
|outro template=Table Outro
|data=number=number,subject=subject,status=status,owner=owner,created=created,updated=updated,project=project
}}
}}
<div style="display:none;">
<div style="display:none;">

Latest revision as of 10:51, 25 November 2020