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 "Active Tasks By Assignee"

From cpt
No edit summary
No edit summary
Line 1: Line 1:
<div style="display:none;">
<div style="display:none;">
{{#vardefine:owner|{{#urldecode:{{#urlget:owner}}}}}}
{{#vardefine:assignee|{{#urldecode:{{#urlget:assignee}}}}}}
</div>
</div>
{{#if:{{#var:owner}}|
{{#if:{{#var:assignee}}|
<span style="float:right;font-size:small;" class="plainlinks">[{{fullurl:Owner|owner={{#urlget:owner}}}} Switch to All Tasks]</span>
<span style="float:right;font-size:small;" class="plainlinks">[{{fullurl:Task Assigned To|assignee={{#urlget:assignee}}}} Switch to All Tasks]</span>
{{#ask:[[Category:Phabricator Tasks]][[Owner::{{#var:owner}}]][[Status::open||stalled]]|format=count}} Phabricator task(s).
{{#ask:[[Category:Phabricator Tasks]][[Task Assigned To::{{#var:assignee}}]][[Status::open||stalled]]|format=count}} Phabricator task(s).
{{#ask:[[Category:Phabricator Tasks]][[Owner::{{#var:owner}}]][[Status::open||stalled]]
{{#ask:[[Category:Phabricator Tasks]][[Task Assigned To::{{#var:assignee}}]][[Status::open||stalled]]
|?Status
|?Status
|?Priority
|?Priority
|?Author
|?Author
|?Owner
|?Task Assigned To
|link=none
|link=none
|limit=100
|limit=100
Line 17: Line 17:
|outrotemplate=Table Outro
|outrotemplate=Table Outro
}}
}}
|{{#ask:[[Category:Phabricator Tasks]][[Owner::+]][[Status::open||stalled]]
|{{#ask:[[Category:Phabricator Tasks]][[Task Assigned To::+]][[Status::open||stalled]]
|?Owner
|?Task Assigned To
|format=tagcloud
|format=tagcloud
|template=Tag Cloud Active Owner Link
|template=Tag Cloud Active Assignee To Link
|limit=3000
|limit=3000
}}
}}
}}
}}
<div style="display:none;">
{{#if:{{#var:owner}}|{{DISPLAYTITLE:Active Tasks by Owner: {{#var:owner}}}}|{{DISPLAYTITLE:Active Tasks by Owner}}}}
</div>
__NOCACHE__
__NOCACHE__

Revision as of 09:46, 19 March 2020