We automate active directory user and mailbox creation with Ansible via Powershell, wondering if there's a way for Ansible to automatically kick off new tickets in JIRA to certain projects. Anyone have a solution they've used?
Ansible is able to create JIRA tickets. Se:
http://docs.ansible.com/ansible/jira_module.html
Ex.
# Create a new issue and add a comment to it: - name: Create an issue jira: uri={{server}} username={{user}} password={{pass}} project=ANS operation=create summary="Example Issue" description="Created using Ansible" issuetype=Task register: issue - name: Comment on issue jira: uri={{server}} username={{user}} password={{pass}} issue={{issue.meta.key}} operation=comment comment="A comment added by Ansible"
Is there any other way around. Means, need to provision a vm when the ticket submitted in the JIRA Servicedesk.
If yes, any documents or link pls?
I also would like to know if there's a way to trigger an ansible playbook when a ticket is created or set to a specific status.
Elvy,
Yes. If you'd like to see how this works, we have a demo of JSD and Ansible Automation showing a basic deployment of Nginx or Apache to AWS depending on selections made on a JSD ticket by a requestor.
It looks like you're new here. Sign in or register to get started.