Mantis

create and update issues in MantisBT,MantisBT is a popular free web-based bug tracking system.

Authentication & Identity Management · Mantis

Details

IDMantis
ProviderOpen Source
CategoryAuthentication & Identity Management
From Version6.0.0
Docker Imagedemisto/python3:3.12.8.3296088
Supported ModulesAgentix XSIAM

README

mantis-get-issue-by-id


get details of the mantis issue

Base Command

mantis-get-issue-by-id

Input

Argument Name Description Required
id Mantis issue to get details of. Required

Context Output

Path Type Description
Mantis.Issue.id String id ofthe issue created
Mantis.Issue.project Unknown project under which issue is created
Mantis.Issue.category Unknown category under which issue is created
Mantis.Issue.reporter Unknown reporter of the issue
Mantis.Issue.status Unknown status of the issues created
Mantis.Issue.created_at Unknown time at which issue created

mantis-create-issue


create a Mantis issue

Base Command

mantis-create-issue

Input

Argument Name Description Required
project project name to create issue under. Required
category category name for the issue. Required
summary summary of the issue. Required
description Description for the issue. Required

Context Output

There is no context output for this command.

mantis-get-issues


get a list of mantis issues

Base Command

mantis-get-issues

Input

Argument Name Description Required
page_size The number of issues to return per page. Default is 50 but overridable by configuration. Default is 10. Optional
page The page number. Default is 1. Optional

Context Output

There is no context output for this command.

mantis-add-note


add Note to a Mantis issue

Base Command

mantis-add-note

Input

Argument Name Description Required
id Mantis issue to add a Note. Required
text note text. Required
view_state select view_state defailt is public. Possible values are: public, private. Default is public. Required

Context Output

There is no context output for this command.

mantis-close-issue


close a Mantis issue

Base Command

mantis-close-issue

Input

Argument Name Description Required
id Mantis issue Id to close. Required

Context Output

There is no context output for this command.

Configuration parameters

  • url — Server URL (e.g. https://example.net) (required)
  • incidentType — Incident type
  • insecure — Trust any certificate (not secure)
  • proxy — Use system proxy settings
  • token — API token (required)

Commands (5)

  • mantis-add-note

    add Note to a Mantis issue

  • mantis-close-issue

    close a Mantis issue

  • mantis-create-issue

    create a Mantis issue

  • mantis-get-issue-by-id

    get details of the mantis issue

  • mantis-get-issues

    get a list of mantis issues

category: Authentication & Identity Management
provider: Open Source
commonfields:
  id: Mantis
  version: -1
configuration:
- defaultvalue: https://example.net
  display: Server URL (e.g. https://example.net)
  name: url
  required: true
  type: 0
- display: Incident type
  name: incidentType
  type: 13
  required: false
- display: Trust any certificate (not secure)
  name: insecure
  type: 8
  required: false
- display: Use system proxy settings
  name: proxy
  type: 8
  required: false
- display: API token
  name: token
  required: true
  type: 4
description: create and update issues in MantisBT,MantisBT is a popular free web-based bug tracking system.
display: Mantis
name: Mantis
script:
  commands:
  - arguments:
    - description: Mantis issue to get details of.
      name: id
      required: true
    description: get details of the mantis issue
    name: mantis-get-issue-by-id
    outputs:
    - contextPath: Mantis.Issue.id
      description: id ofthe issue created.
      type: String
    - contextPath: Mantis.Issue.project
      description: project under which issue is created.
      type: Unknown
    - contextPath: Mantis.Issue.category
      description: category under which issue is created.
      type: Unknown
    - contextPath: Mantis.Issue.reporter
      description: reporter of the issue.
      type: Unknown
    - contextPath: Mantis.Issue.status
      description: status of the issues created.
      type: Unknown
    - contextPath: Mantis.Issue.created_at
      description: time  at which issue created.
      type: Unknown
  - arguments:
    - description: project name to  create issue under.
      name: project
      required: true
    - description: category name for the issue.
      name: category
      required: true
    - description: summary of the issue.
      name: summary
      required: true
    - description: Description for the issue.
      name: description
      required: true
    description: create a Mantis issue
    name: mantis-create-issue
  - arguments:
    - defaultValue: '10'
      description: The number of issues to return per page. Default is 50 but overridable by configuration.
      name: page_size
    - defaultValue: '1'
      description: The page number.
      name: page
    description: get a list of mantis issues
    name: mantis-get-issues
  - arguments:
    - description: Mantis issue to add a Note.
      name: id
      required: true
    - description: note text.
      name: text
      required: true
    - auto: PREDEFINED
      defaultValue: public
      description: select view_state defailt is public.
      name: view_state
      predefined:
      - public
      - private
      required: true
    description: add Note to a Mantis issue
    name: mantis-add-note
  - arguments:
    - description: Mantis issue Id to close.
      name: id
      required: true
    description: close a Mantis issue
    name: mantis-close-issue
  dockerimage: demisto/python3:3.12.8.3296088
  runonce: false
  script: '-'
  subtype: python3
  type: python
tests:
- No tests (auto formatted)
fromversion: 6.0.0