Cloud Connector of the Week: Jira

September 7 2011

3 comments 0
motif

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 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:

 

and then add the Jira Cloud Connector Maven dependency:

 

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.

 

More Info

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!

Follow: @federecio


We'd love to hear your opinion on this post

3 Responses to “Cloud Connector of the Week: Jira”

  1. Hello,

    I wanted to try out the Jira plugin, but could not find the online XSD files. Which namespace do I have to use in the mule-config.xml file ?

    Best regards,

    Tom.

    Agree(0)Disagree(0)Comment
  2. Tom,

    Thanks for your question, I updated the post with the missing information of the namespace declaration. The xsd file is not published in the web, but instead is bundled inside the jar file of the Jira Cloud Connector in the /META-INF directory.

    Best regards,
    Federico

    Agree(0)Disagree(0)Comment
  3. I am encountering below message while executing app.

    Failed to invoke createIssue. Message payload is of type: String.

    Following is XML code snippet:

    Can you please help me?

    Agree(0)Disagree(0)Comment