> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Workitem



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#AZURE_DEVOPS_CREATE_WORKITEM
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#AZURE_DEVOPS_CREATE_WORKITEM:
    post:
      summary: Create Workitem
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: AZURE_DEVOPS_CREATE_WORKITEM
                parameters:
                  type: object
                  properties:
                    project:
                      type: string
                      description: Specify a project to perform the operation in
                    workItemType:
                      type: string
                      description: >-
                        Work Item Type : Search for work items that match
                        specified filters. (example: "Type")
                      enum:
                        - BUG
                        - EPIC
                        - FEATURE
                        - ISSUE
                        - TASK
                        - TEST CASE
                        - USER STORY
                    reproSteps:
                      type: string
                      description: |-
                        Repro Steps : Description of how to see the bug. 
                        This field appears only when 'workItemType' = 'BUG')
                    systemInfo:
                      type: string
                      description: >-
                        System Info : Test context, can be automatically
                        provided by test infrastructure. 

                        This field appears only when 'workItemType' = 'BUG')
                    resolvedReason:
                      type: string
                      description: |-
                        Resolved Reason : The reason why the bug was resolved. 
                        This field appears only when 'workItemType' = 'BUG')
                    storyPoints:
                      type: string
                      description: >-
                        Story Points : The size of work estimated for fixing the
                        bug. 

                        This field appears only when 'workItemType' = 'BUG')
                    priority:
                      type: string
                      description: |-
                        Priority : Business importance. 
                        This field appears only when 'workItemType' = 'BUG') 
                        This field appears only when 'type' = '') 
                        This field appears only when 'type' = '')
                    severity:
                      type: string
                      description: >-
                        Severity : An assessment of the effect of the bug on the
                        project. 

                        This field appears only when 'workItemType' = 'BUG')
                      enum:
                        - 1 - Critical
                        - 2 - High
                        - 3 - Medium
                        - 4 - Low
                    activity:
                      type: string
                      description: |-
                        Activity : Type of work involved for this work item. 
                        This field appears only when 'workItemType' = 'BUG')
                      enum:
                        - Deployment
                        - Design
                        - Development
                        - 'Documentation '
                        - Requirements
                        - 'Testing  '
                    description:
                      type: string
                      description: >-
                        Description : Description or acceptance criteria for
                        this epic to be considered complete. 

                        This field appears only when 'workItemType' = 'EPIC') 

                        This field appears only when 'type' = '')
                    risk:
                      type: string
                      description: |-
                        Risk : Uncertainty in epic. 
                        This field appears only when 'workItemType' = 'EPIC') 
                        This field appears only when 'type' = '')
                      enum:
                        - '1'
                        - '2'
                        - '3'
                    effort:
                      type: string
                      description: |-
                        Effort : The estimated effort to implemented the epic. 
                        This field appears only when 'workItemType' = 'EPIC') 
                        This field appears only when 'type' = '')
                    businessValue:
                      type: string
                      description: >-
                        Business Value : The business value for the customer
                        when the epic is released. 

                        This field appears only when 'workItemType' = 'EPIC') 

                        This field appears only when 'type' = '')
                    timeCriticality:
                      type: string
                      description: >-
                        Time Criticality : How the business value of this epic
                        decays over time. Higher values make the epic more
                        time-critical. 

                        This field appears only when 'workItemType' = 'EPIC') 

                        This field appears only when 'type' = '')
                    startDate:
                      type: string
                      description: |-
                        Start Date : The date to start the task. 
                        This field appears only when 'workItemType' = 'EPIC') 
                        This field appears only when 'type' = '')
                    targetDate:
                      type: string
                      description: |-
                        Target Date : The target date for completing the epic. 
                        This field appears only when 'workItemType' = 'EPIC') 
                        This field appears only when 'type' = '')
                    title:
                      type: string
                      description: Title
                    assignee:
                      type: string
                      description: >-
                        Assignee : Specify a user that this work item should be
                        assigned to.
                    state:
                      type: string
                      description: 'State : The state of the created work item.'
                      enum:
                        - New
                        - Active
                        - Resolved
                        - Closed
                    reason:
                      type: string
                      description: >-
                        Reason : The reason for the created work item. This
                        value may accept different values depending on the
                        current State of the work item.
                    area:
                      type: string
                      description: Specify the area for the work item
                    iteration:
                      type: string
                      description: Specify the iteration for the work item
                    additionalFields:
                      type: object
                      description: |-
                        Additional Fields (example: "
                        {
                          "Custom.customfield": "Value for custom field"
                        }")
                      properties: {}
                  required:
                    - project
                    - workItemType
                    - title
                  x-integration: azuredevops
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````