> 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).

# appmixer.github.list.NewMilestone

- Component: `appmixer.github.list.NewMilestone`
- Kind: Trigger
- 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.list.NewMilestone>

Triggers when a new milestone is created in a GitHub repository.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Repository (`repositoryId`) | text | Enter the repository in `owner/repo` format (e.g. `octocat/Hello-World`). You can also pick from the dynamically loaded list of your repositories. |

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| ID (`id`) | integer | - |
| HTML URL (`html_url`) | string | - |
| Number (`number`) | integer | - |
| Title (`title`) | string | - |
| State (`state`) | string | - |
| Description (`description`) | string | - |
| Creator Login (`creator.login`) | string | - |
| Creator ID (`creator.id`) | integer | - |
| Creator HTML URL (`creator.html_url`) | string | - |
| Created At (`created_at`) | string | - |
| Updated At (`updated_at`) | string | - |
| Due On (`due_on`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.github.list.NewMilestone",
  "author": "Appmixer <info@appmixer.com>",
  "icon": "(data URI omitted)",
  "description": "Triggers when a new milestone is created in a GitHub repository.",
  "private": false,
  "tick": true,
  "auth": {
    "service": "appmixer:github",
    "scope": [
      "user",
      "public_repo",
      "repo",
      "notifications",
      "gist"
    ]
  },
  "quota": {
    "manager": "appmixer:github",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "outPorts": [
    {
      "name": "out",
      "options": [
        {
          "label": "ID",
          "value": "id",
          "schema": {
            "type": "integer",
            "example": 1234567890
          }
        },
        {
          "label": "HTML URL",
          "value": "html_url",
          "schema": {
            "type": "string",
            "example": "https://github.com/octocat/Hello-World/issues/1"
          }
        },
        {
          "label": "Number",
          "value": "number",
          "schema": {
            "type": "integer",
            "example": 42
          }
        },
        {
          "label": "Title",
          "value": "title",
          "schema": {
            "type": "string",
            "example": "Found a bug"
          }
        },
        {
          "label": "State",
          "value": "state",
          "schema": {
            "type": "string",
            "example": "open"
          }
        },
        {
          "label": "Description",
          "value": "description",
          "schema": {
            "type": "string",
            "example": "A short description of the repository"
          }
        },
        {
          "label": "Creator Login",
          "value": "creator.login",
          "schema": {
            "type": "string",
            "example": "octocat"
          }
        },
        {
          "label": "Creator ID",
          "value": "creator.id",
          "schema": {
            "type": "integer",
            "example": 583231
          }
        },
        {
          "label": "Creator HTML URL",
          "value": "creator.html_url",
          "schema": {
            "type": "string",
            "example": "https://github.com/octocat"
          }
        },
        {
          "label": "Created At",
          "value": "created_at",
          "schema": {
            "type": "string",
            "example": "2024-01-15T10:30:00Z"
          }
        },
        {
          "label": "Updated At",
          "value": "updated_at",
          "schema": {
            "type": "string",
            "example": "2024-01-15T10:30:00Z"
          }
        },
        {
          "label": "Due On",
          "value": "due_on",
          "schema": {
            "type": "string",
            "example": "2024-12-31T00:00:00Z"
          }
        }
      ]
    }
  ],
  "properties": {
    "schema": {
      "properties": {
        "repositoryId": {
          "type": "string",
          "pattern": "[^/]+[/][^/]+"
        }
      },
      "required": [
        "repositoryId"
      ]
    },
    "inspector": {
      "inputs": {
        "repositoryId": {
          "type": "text",
          "group": "config",
          "label": "Repository",
          "index": 1,
          "tooltip": "Enter the repository in `owner/repo` format (e.g. `octocat/Hello-World`). You can also pick from the dynamically loaded list of your repositories.",
          "source": {
            "url": "/component/appmixer/github/list/ListRepos?outPort=repositories",
            "data": {
              "transform": "./transformers#reposToSelectArray"
            }
          }
        }
      },
      "groups": {
        "config": {
          "label": "Configuration",
          "index": 1
        }
      }
    }
  }
}
```
