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 "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 - Active|owner={{#urlget:owner}}}} Switch to Active Tasks]</span>
<span style="float:right;font-size:small;" class="plainlinks">[{{fullurl:Assignee - Active|assignee={{#urlget:assignee}}}} Switch to Active Tasks]</span>
{{#ask:[[Category:Phabricator Tasks]][[Owner::{{#var:owner}}]]|format=count}} Phabricator task(s).
{{#ask:[[Category:Phabricator Tasks]][[Task Assigned To::{{#var:assignee}}]]|format=count}} Phabricator task(s).
{{#ask:[[Category:Phabricator Tasks]][[Owner::{{#var:owner}}]]
{{#ask:[[Category:Phabricator Tasks]][[Task Assigned To::{{#var:assignee}}]]
|?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 Link
|limit=3000
|limit=3000
}}
}}
}}
}}
<div style="display:none;">
<div style="display:none;">
{{#if:{{#var:owner}}|{{DISPLAYTITLE:Tasks by Owner: {{#var:owner}}}}|{{DISPLAYTITLE:Tasks by Owner}}}}
{{#if:{{#var:assignee}}|{{DISPLAYTITLE:Tasks by Assignee: {{#var:assignee}}}}|{{DISPLAYTITLE:Tasks by Assignee}}}}
</div>
</div>
__NOCACHE__
__NOCACHE__

Revision as of 09:43, 19 March 2020