community.general.taiga_issue (8.5.0) — module

Creates/deletes an issue in a Taiga Project Management Platform

Authors: Alejandro Guirao (@lekum)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

Creates/deletes an issue in a Taiga Project Management Platform (U(https://taiga.io)).

An issue is identified by the combination of project, issue subject and issue type.

This module implements the creation or deletion of issues (not the update).


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create an issue in the my hosted Taiga environment and attach an error log
  community.general.taiga_issue:
    taiga_host: https://mytaigahost.example.com
    project: myproject
    subject: An error has been found
    issue_type: Bug
    priority: High
    status: New
    severity: Important
    description: An error has been found. Please check the attached error log for details.
    attachment: /path/to/error.log
    attachment_description: Error log file
    tags:
      - Error
      - Needs manual check
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Deletes the previously created issue
  community.general.taiga_issue:
    taiga_host: https://mytaigahost.example.com
    project: myproject
    subject: An error has been found
    issue_type: Bug
    state: absent

Inputs

    
tags:
    default: []
    description:
    - A lists of tags to be assigned to the issue.
    elements: str
    type: list

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Whether the issue should be present or not.
    type: str

status:
    default: New
    description:
    - The issue status. Must exist previously.
    type: str

project:
    description:
    - Name of the project containing the issue. Must exist previously.
    required: true
    type: str

subject:
    description:
    - The issue subject.
    required: true
    type: str

priority:
    default: Normal
    description:
    - The issue priority. Must exist previously.
    type: str

severity:
    default: Normal
    description:
    - The issue severity. Must exist previously.
    type: str

attachment:
    description:
    - Path to a file to be attached to the issue.
    type: path

issue_type:
    description:
    - The issue type. Must exist previously.
    required: true
    type: str

taiga_host:
    default: https://api.taiga.io
    description:
    - The hostname of the Taiga instance.
    type: str

description:
    default: ''
    description:
    - The issue description.
    type: str

attachment_description:
    default: ''
    description:
    - A string describing the file to be attached to the issue.
    type: str