ansible.builtin.taiga_issue (v2.9.27) — module

Creates/deletes an issue in a Taiga Project Management Platform

| "added in version" 2.0 of ansible.builtin"

Authors: Alejandro Guirao (@lekum)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

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.
# Create an issue in the my hosted Taiga environment and attach an error log
- 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.
# Deletes the previously created issue
- 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.

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

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

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

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

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

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

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

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

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

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

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