This section of our blog is about showcasing current and upcoming cloud connectors. Cloud Connectors are Mule modules that allow easy connectivity to cloud APIs such as Twiiter, Facebook, and the thousands of Software as a Service platform out there on the net.
This week we are presenting a new Cloud Connector for Attlasian Jira, one of the most popular issue tracker. JIRA is widely used in many different companies reaching the amazing amount of 14,500 organisations in 122 countries around the globe — across Fortune 1000, public enterprise, science and technology sectors.
Jira Cloud Connector for Mule
Given its wide adoption and the fact that issue management plays a key role within many organizations, it makes perfect sense to build an integration between Mule ESB and Jira. Mule and Jira is a very compelling combination for automating workflow tasks, such as provisioning user requests, collecting data, orchestrating tasks in third party applications as well as getting events out of Jira for other systems.
You can do a lot of things with Jira Cloud Connector for Mule, in this post I will go over the basics, click here to browse all the supported operations.
Creating a project is as simple as:
You may need to update the project configuration after it has been created. Let’s say you want to change the default notification scheme to a custom scheme and add a home url for the project:
Now that you have your project set up, we need to start creating some issues:
You may use additional attributes for due date, assignee, environment, etc., to create a more detailed issue.
Adding a comment to a issue is really simple, assuming that the key of the issue to update is XYZ-123:
Want to try out Jira Cloud Connector?
Make sure you have this repository configured in your pom.xml:
In your Mule configuration you have to declare the Jira namespace as follows:
Note that the schema URI does not exist. Instead, the xsd file is packaged inside the Jira Cloud Connector JAR file under /META-INF/mule-jira.xsd and is referenced by the /META-INF/spring.schemas file which maps the namespace URI with the physical location of the schema file.
The power of Jira Cloud Connector resides not only in the operations it supports but in the ability of combining it with other available Cloud Connectors like SalesForce, MongoDB, Twilio, and many more. For a full list of Cloud Connectors click here.
I hope you find this Cloud Connector useful, if you have any questions or comments I’ll be glad to get back to you. Leave your question here or post one in the forums.
Give it a try and let me know!