Phorge icon

Phorge

Interact with Phorge Conduit API

Actions5

Task → Search

AI-generated

Summary

Search Phorge tasks using conduit constraints and optional attachment inclusions.

Inputs

  • taskSearchConstraints — Collection of filters applied to the search. Supported constraints include: ids (comma-separated task IDs), phids (comma-separated valid PHID-TASK-* identifiers), assigned (user PHIDs to whom tasks are assigned), authorPHIDs (author user PHIDs), status (task status, default 'open'), priorities (comma-separated priority levels), subtype (comma-separated subtypes), columnPHIDs (workboard column PHIDs), hasParents (boolean for tasks blocking open parents), hasSubtasks (boolean for tasks blocked by open subtasks), parentIDs (comma-separated parent task IDs), subtaskIDs (comma-separated subtask IDs), group (group by priority/status/project/none), createdBefore/createdAfter (unixtimestamp in seconds), modifiedBefore/modifiedAfter (unixtimestamp in seconds), closedStart/closedEnd (unixtimestamp in seconds), closerPHIDs (user PHIDs who closed tasks), query (free-text search), subscribers (user PHIDs who are subscribers), and projects (project PHIDs to filter by). Constraints are processed via FilterHelper.buildConstraints and passed to the conduit searchManiphest call.
  • attachments — Multi-option selection specifying which attachments to include in the response. Options are 'columns', 'projects', and 'subscribers'. When selected, the corresponding attachment data is attached to each returned task object.

Output shape

Array of task objects returned from the Phorge searchManiphest conduit call. Each item is formatted as { json: } and returned as an n8n Main output item.

The node constructs a params object combining constraints and attachments, then calls client.searchManiphest(params). Results are mapped directly to n8n json items. If no constraints or attachments are specified, the search returns all tasks (subject to server-side defaults).

Examples

Example 1: Search for open tasks assigned to a specific user, including projects and subscribers attachments.

Set taskSearchConstraints.assigned to a user PHID, taskSearchConstraints.status to 'open', and attachments to ['projects','subscribers'].

Links

Discussion