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
 
(30 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:
[[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]]
|?-Has subobject
|mainlabel=-
|format=table
|limit=500
|headers=hide
}}


; Entered External Code Review Needed Since {{#var:start_date}}
<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:
{{#ask:
[[Transition Project::Core Platform Team Workboards (Clinic Duty Team)]][[Transition Type::Entered Column]][[Transition Date::>{{#var:start_date}}]][[Transition Column::External Code Review Needed]]
[[Transition Project::Platform Team Workboards (Clinic Duty Team)||Platform Team Workboards (External Code Reviews)]]
|?-Has subobject=Task
[[Transition Type::Entered Column]]
[[Transition Date::>{{#var:start_date}}]]
[[Transition Date::<{{#var:end_date}}]]
[[Transition Column::External Code Review In Progress]]
|?-Has subobject
|mainlabel=-
|mainlabel=-
|sort=Transition Timestamp, Transition Type
|format=table
|order=desc,desc
|format=ul
|limit=500
|limit=500
|headers=hide
|headers=hide
}}
}}


; Entered External Code Review In Progress Since {{#var:start_date}}
<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:
{{#ask:
[[Transition Project::Core Platform Team Workboards (Clinic Duty Team)]][[Transition Type::Entered Column]][[Transition Date::>{{#var:start_date}}]][[Transition Column::External Code Review In Progress]]
[[Transition Project::Platform Team Workboards (Clinic Duty Team)||Platform Team Workboards (External Code Reviews)]]
|?-Has subobject=Task
[[Transition Type::Entered Column]]
[[Transition Date::>{{#var:start_date}}]]
[[Transition Date::<{{#var:end_date}}]]
[[Transition Column::External Code Review Completed]]
|?-Has subobject
|mainlabel=-
|mainlabel=-
|sort=Transition Timestamp, Transition Type
|format=table
|order=desc,desc
|format=ul
|limit=500
|limit=500
|headers=hide
}}
}}


; Entered External Code Review Completed Since {{#var:start_date}}
<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:
{{#ask:
[[Transition Project::Core Platform Team Workboards (Clinic Duty Team)]][[Transition Type::Entered Column]][[Transition Date::>{{#var:start_date}}]][[Transition Column::External Code Review Completed]]
[[Transition Project::Platform Team Workboards (Clinic Duty Team)]]
|?-Has subobject=Task
[[Transition Type::Entered Column]]
[[Transition Date::>{{#var:start_date}}]]
[[Transition Date::<{{#var:end_date}}]]
[[Transition Column::Done]]
|?-Has subobject
|mainlabel=-
|mainlabel=-
|sort=Transition Timestamp, Transition Type
|format=table
|order=desc,desc
|format=ul
|limit=500
|limit=500
|headers=hide
}}
}}

Latest revision as of 08:18, 13 October 2020