1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

Update in: 4 February 2019


:

This script allows you to create a new Issue on JIRA using JIRA Web API.

https://blog.pandorafms.org/jira-integration/
https://blog.pandorafms.org/es/integracion-jira/

You can see all parameter and an example of how to call this script typing:

$> ./jira_ticket.sh

You will see:
Create Jira Issue Script for Pandora FMS. http://pandorafms.com

Syntax:
-c : Jira Server
-u : User API
-k : Pass API
-t : Project
-d : Summary
-p : Description
-a : Assignee
-g : Type of Issue
-i : Priority
-s : Security
-o : Optional
-m : Module
-M : Mode (only in recovery)

Please note that “Security” and “Optional” parameters are only used in certain environments. If the user is working in a default JIRA installation, comment and ignore these fields.

Samples:

Open issue:

 ./jira_ticket.sh -c 192.168.1.13:8080 -u APIuser -k APIpass -t PRO -d "This is an example" -p "This is an example description" -a UserAssignee -g Issue -i High -s "Security Level" -o "Custom Field Value" -m _module_id_

Close issue:

 ./jira_ticket.sh -c 192.168.1.13:8080 -u APIuser -k APIpass -m _module_id_ -M "validate"

Documentation:

ES JIRA Plugin
EN JIRA Plugin

Files:

jira_ticket.sh


(Visited 810 times, 2 visits today)

For correct visualization of the Pandora FMS library extension, you must have installed version NG 760 or superior

X