<style type="text/css">a[data-mtli~="mtli_filesize54190kB"]:after {content:" (541.90 kB)"}a[data-mtli~="mtli_filesize54608kB"]:after {content:" (546.08 kB)"}</style><style type="text/css">a[data-mtli~="mtli_filesize54190kB"]:after {content:" (541.90 kB)"}a[data-mtli~="mtli_filesize54608kB"]:after {content:" (546.08 kB)"}</style>{"id":351,"date":"2017-12-13T11:34:18","date_gmt":"2017-12-13T11:34:18","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=351"},"modified":"2019-02-04T18:13:17","modified_gmt":"2019-02-04T17:13:17","slug":"create-jira-issue-script","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/create-jira-issue-script\/","title":{"rendered":"Create JIRA Issue Script"},"content":{"rendered":"<p>This script allows you to create a new Issue on JIRA using JIRA Web API.<\/p>\n<p><a href=\"https:\/\/blog.pandorafms.org\/jira-integration\/\" target=\"_blank\" rel=\"noopener\">https:\/\/blog.pandorafms.org\/jira-integration\/<\/a><br \/>\n<a href=\"https:\/\/blog.pandorafms.org\/es\/integracion-jira\/\" target=\"_blank\" rel=\"noopener\">https:\/\/blog.pandorafms.org\/es\/integracion-jira\/<\/a><\/p>\n<p>You can see all parameter and an example of how to call this script typing:<\/p>\n<pre>$&gt; .\/jira_ticket.sh<\/pre>\n<p>You will see:<br \/>\nCreate Jira Issue Script for Pandora FMS. <a href=\"http:\/\/pandorafms.com\" target=\"_blank\" rel=\"noopener\">http:\/\/pandorafms.com<\/a><\/p>\n<p>Syntax:<br \/>\n-c : Jira Server<br \/>\n-u : User API<br \/>\n-k : Pass API<br \/>\n-t : Project<br \/>\n-d : Summary<br \/>\n-p : Description<br \/>\n-a : Assignee<br \/>\n-g : Type of Issue<br \/>\n-i : Priority<br \/>\n-s : Security<br \/>\n-o : Optional<br \/>\n-m : Module<br \/>\n-M : Mode (only in recovery)<\/p>\n<p>Please note that &#8220;Security&#8221; and &#8220;Optional&#8221; parameters are only used in certain environments. If the user is working in a default JIRA installation, comment and ignore these fields.<\/p>\n<p>Samples:<\/p>\n<p>Open issue:<\/p>\n<pre> .\/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_<\/pre>\n<p>Close issue:<\/p>\n<pre> .\/jira_ticket.sh -c 192.168.1.13:8080 -u APIuser -k APIpass -m _module_id_ -M \"validate\"<\/pre>\n<h2>Documentation:<\/h2>\n<p><a href=\"https:\/\/pandorafms.com\/library\/wp-content\/uploads\/2017\/12\/ES-JIRA-Plugin.pdf\" class=\"mtli_attachment mtli_pdf\" data-mtli=\"mtli_filesize54190kB\">ES JIRA Plugin<\/a><br \/>\n<a href=\"https:\/\/pandorafms.com\/library\/wp-content\/uploads\/2017\/12\/EN-JIRA-Plugin.pdf\" class=\"mtli_attachment mtli_pdf\" data-mtli=\"mtli_filesize54608kB\">EN JIRA Plugin<\/a><\/p>\n<h2>Files:<\/h2>\n<p><a href=\"https:\/\/pandorafms.com\/library\/wp-content\/uploads\/2017\/12\/jira_ticket.sh\">jira_ticket.sh<\/a><\/p>\n<pre><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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: $&gt; .\/jira_ticket.sh You will see: Create Jira Issue Script for Pandora FMS. http:\/\/pandorafms.com Syntax: -c : Jira Server -u : User API -k [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[13],"tags":[70],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/351"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=351"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/351\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}