It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there a way to integrate Ansible with hosted Jira?

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?

1 answer

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.  

Like Colm McGrath likes this

Hey Armando,

 

Yeah, where can I see the demo?

Like # people like this

Looks like we are all waiting to get some guidance on this.. the end goal is to use Jira Service Desk as a Service Catalog and Workflow manager and trigger a job in Ansible Tower once approved.. Anyone have any luck with this yet?

I know we have the service catalog in red hat cloud but looking to use JSD as we are currently using it for raising requests and operational tasks.

Thanks in advance.

Cheers

Like Nicolas Houillon likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you