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 "Clinic Duty Period Report"

From cpt
No edit summary
No edit summary
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#vardefine:start_date|2020-03-03}}
Edit this page to change the date range.
<div style="display:none;">
{{#vardefine:start_date|2020-09-30}}
{{#vardefine:end_date|2020-10-14}}
</div>
<h4>Entered External Code Review Needed Between {{#var:start_date}} and {{#var:end_date}} (Count: {{#ask:
[[Transition Project::Platform Team Workboards (Clinic Duty Team)||Platform Team Workboards (External Code Reviews)]]
[[Transition Type::Entered Column]]
[[Transition Date::>{{#var:start_date}}]]
[[Transition Date::<{{#var:end_date}}]]
[[Transition Column::External Code Review Needed]]
|format=count}})</h4>
{{#ask:
{{#ask:
[[Transition Project::Core Platform Team Workboards (Clinic Duty Team)]][[Transition Type::Entered Column]][[Transition Date::>{{#var:start_date}}]]
[[Transition Project::Platform Team Workboards (Clinic Duty Team)||Platform Team Workboards (External Code Reviews)]]
|?Transition Type
[[Transition Type::Entered Column]]
|?-Has subobject=Task
[[Transition Date::>{{#var:start_date}}]]
|?Transition Column
[[Transition Date::<{{#var:end_date}}]]
|?Transition Date
[[Transition Column::External Code Review Needed]]
|?-Has subobject
|mainlabel=-
|mainlabel=-
|sort=Transition Timestamp, Transition Type
|format=table
|order=desc,desc
|format=template
|introtemplate=Project Transition Table Intro
|template=Project Transition Table Row
|outrotemplate=Table Outro
|limit=500
|limit=500
|headers=hide
}}
<h4>Entered External Code Review In Progress Between {{#var:start_date}} and {{#var:end_date}} (Count: {{#ask:
[[Transition Project::Platform Team Workboards (Clinic Duty Team)||Platform Team Workboards (External Code Reviews)]]
[[Transition Type::Entered Column]]
[[Transition Date::>{{#var:start_date}}]]
[[Transition Date::<{{#var:end_date}}]]
[[Transition Column::External Code Review In Progress]]
|format=count}})</h4>
{{#ask:
[[Transition Project::Platform Team Workboards (Clinic Duty Team)||Platform Team Workboards (External Code Reviews)]]
[[Transition Type::Entered Column]]
[[Transition Date::>{{#var:start_date}}]]
[[Transition Date::<{{#var:end_date}}]]
[[Transition Column::External Code Review In Progress]]
|?-Has subobject
|mainlabel=-
|format=table
|limit=500
|headers=hide
}}
<h4>Entered External Code Review Completed Between {{#var:start_date}} and {{#var:end_date}} (Count: {{#ask:
[[Transition Project::Platform Team Workboards (Clinic Duty Team)||Platform Team Workboards (External Code Reviews)]]
[[Transition Type::Entered Column]]
[[Transition Date::>{{#var:start_date}}]]
[[Transition Date::<{{#var:end_date}}]]
[[Transition Column::External Code Review Completed]]
|format=count}})</h4>
{{#ask:
[[Transition Project::Platform Team Workboards (Clinic Duty Team)||Platform Team Workboards (External Code Reviews)]]
[[Transition Type::Entered Column]]
[[Transition Date::>{{#var:start_date}}]]
[[Transition Date::<{{#var:end_date}}]]
[[Transition Column::External Code Review Completed]]
|?-Has subobject
|mainlabel=-
|format=table
|limit=500
|headers=hide
}}
<h4>Entered Done Between {{#var:start_date}} and {{#var:end_date}} (Count: {{#ask:
[[Transition Project::Platform Team Workboards (Clinic Duty Team)]]
[[Transition Type::Entered Column]]
[[Transition Date::>{{#var:start_date}}]]
[[Transition Date::<{{#var:end_date}}]]
[[Transition Column::Done]]
|format=count}})</h4>
{{#ask:
[[Transition Project::Platform Team Workboards (Clinic Duty Team)]]
[[Transition Type::Entered Column]]
[[Transition Date::>{{#var:start_date}}]]
[[Transition Date::<{{#var:end_date}}]]
[[Transition Column::Done]]
|?-Has subobject
|mainlabel=-
|format=table
|limit=500
|headers=hide
}}
}}

Latest revision as of 08:18, 13 October 2020