> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Find Project Items

- Component: `appmixer.github.project.FindProjectItems`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.github 4.2.0](https://connectors.appmixer.com/connector/appmixer.github/4.2.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.github/4.2.0/component/appmixer.github.project.FindProjectItems>

Retrieve items from a GitHub project that match a specific status and/or content type. Returns both Issues and Pull Requests linked to the project. Can filter by status (e.g., 'Todo', 'In Progress', 'Done') and by content type (Issue, PullRequest, or DraftIssue). Each item includes its content details (title, URL, number, repository) and custom field values.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Project ID (`projectId`) | text | The ID of the project. |
| Status (`status`) | text | Filter items by status. Enter a single status (e.g., 'Todo') or multiple statuses separated by commas (e.g., 'Todo,In Progress,Done'). Leave empty to get all items. Case-insensitive. |
| Output Type (`outputType`) | select | Choose whether you want to receive the result set as one complete list, or first item only or one item at a time or stream the items to a file. |

## Output ports

### Port `out`

Variables are loaded dynamically from `/component/appmixer/github/project/FindProjectItems?outPort=out&ignoreAuth=true`.

### Port `notFound`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.github.project.FindProjectItems",
  "label": "Find Project Items",
  "description": "Retrieve items from a GitHub project that match a specific status and/or content type. Returns both Issues and Pull Requests linked to the project. Can filter by status (e.g., 'Todo', 'In Progress', 'Done') and by content type (Issue, PullRequest, or DraftIssue). Each item includes its content details (title, URL, number, repository) and custom field values.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:github",
    "scope": [
      "read:project",
      "repo"
    ]
  },
  "quota": {
    "manager": "appmixer:github",
    "resources": "requests-projects",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string",
            "description": "The ID of the project"
          },
          "status": {
            "type": "string",
            "description": "Filter items by status. Can be a single status (e.g., 'Todo') or multiple statuses separated by commas (e.g., 'Todo,In Progress,Done'). Case-insensitive."
          },
          "outputType": {
            "type": "string",
            "enum": [
              "array",
              "first",
              "object",
              "file"
            ],
            "description": "Output format"
          }
        },
        "required": [
          "projectId"
        ]
      },
      "inspector": {
        "inputs": {
          "projectId": {
            "type": "text",
            "tooltip": "The ID of the project.",
            "label": "Project ID",
            "index": 1
          },
          "status": {
            "type": "text",
            "tooltip": "Filter items by status. Enter a single status (e.g., 'Todo') or multiple statuses separated by commas (e.g., 'Todo,In Progress,Done'). Leave empty to get all items. Case-insensitive.",
            "label": "Status",
            "index": 2
          },
          "outputType": {
            "type": "select",
            "label": "Output Type",
            "index": 4,
            "defaultValue": "array",
            "tooltip": "Choose whether you want to receive the result set as one complete list, or first item only or one item at a time or stream the items to a file.",
            "options": [
              {
                "label": "First Item Only",
                "value": "first"
              },
              {
                "label": "All items at once",
                "value": "array"
              },
              {
                "label": "One item at a time",
                "value": "object"
              },
              {
                "label": "Store to CSV file",
                "value": "file"
              }
            ]
          }
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "source": {
        "url": "/component/appmixer/github/project/FindProjectItems?outPort=out&ignoreAuth=true",
        "data": {
          "properties": {
            "generateOutputPortOptions": true
          },
          "messages": {
            "in/outputType": "inputs/in/outputType",
            "in/projectId": "any"
          }
        }
      }
    },
    {
      "name": "notFound"
    }
  ],
  "icon": "(data URI omitted)"
}
```
