> 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.jira.issues.CreateIssue

- Component: `appmixer.jira.issues.CreateIssue`
- Kind: Action
- Version: 1.0.1
- Visibility: Public
- Connector: [appmixer.jira 4.0.5](https://connectors.appmixer.com/connector/appmixer.jira/4.0.5.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.jira/4.0.5/component/appmixer.jira.issues.CreateIssue>

Creates an issue on Jira.

## Properties

| Field | Type | Description |
| --- | --- | --- |
| Project ID (`project`) | text | Select a project. |
| Issue Type (`issueType`) | text | Select an issue type. |

## Input ports

### Port `in`

Fields are loaded dynamically from `/component/appmixer/jira/issues/IssueMetadata?outPort=out`.

## Output ports

### Port `out`

| Field | Type | Description |
| --- | --- | --- |
| Id (`id`) | string | - |
| Key (`key`) | string | - |

## Full metadata (component.json)

```json
{
  "name": "appmixer.jira.issues.CreateIssue",
  "description": "Creates an issue on Jira.",
  "author": "Jimoh Damilola <jimoh@client.io>",
  "version": "1.0.1",
  "auth": {
    "service": "appmixer:jira",
    "scope": [
      "write:jira-work",
      "read:jira-work"
    ]
  },
  "properties": {
    "schema": {
      "properties": {
        "project": {
          "type": "string"
        },
        "issueType": {
          "type": "string"
        }
      },
      "required": [
        "project",
        "issueType"
      ]
    },
    "inspector": {
      "inputs": {
        "project": {
          "type": "text",
          "label": "Project ID",
          "index": 1,
          "source": {
            "url": "/component/appmixer/jira/issues/IssueMetadata?outPort=out",
            "data": {
              "transform": "./IssueMetadata#projectsToSelectArray"
            }
          },
          "tooltip": "Select a project."
        },
        "issueType": {
          "type": "text",
          "label": "Issue Type",
          "index": 1,
          "source": {
            "url": "/component/appmixer/jira/issues/IssueMetadata?outPort=out",
            "data": {
              "messages": {
                "in/project": "properties/project"
              },
              "transform": "./IssueMetadata#issueTypesToSelectArray"
            }
          },
          "tooltip": "Select an issue type."
        }
      }
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object"
      },
      "source": {
        "url": "/component/appmixer/jira/issues/IssueMetadata?outPort=out",
        "data": {
          "messages": {
            "in/project": "properties/project",
            "in/issueType": "properties/issueType"
          },
          "transform": "./IssueMetadata#createMetaToInspector"
        }
      }
    }
  ],
  "outPorts": [
    {
      "name": "out",
      "schema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "title": "Id",
            "example": "10002"
          },
          "key": {
            "type": "string",
            "title": "Key",
            "example": "PROJ-123"
          }
        }
      }
    }
  ],
  "icon": "(data URI omitted)"
}
```
