且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将Mule Studio连接到Jira来创建jira问题?

更新时间:2021-09-29 16:07:42

我看到两种可能性:

  1. 您没有jira连接器jar作为库.该错误表明xml解析器无法识别jira:config元素,该元素位于jira连接器xsd中,而js连接器jar中.
  2. 您没有在XML顶部声明jira命名空间.

您可以通过以下任意一种方式包括连接器:

You can include the connector in any of these ways:

  1. 在Studio中安装(我从不厌倦这种方法),您的调色板中应该有JIRA连接器,并且能够将其放入流程中并进行配置.
  2. 此处,然后在您的配置中包括JIRA连接器名称空间:

  1. Install it in Studio (I've never tired this approach) and you should have JIRA connector in your pallette and be able to drop it in a flow and configure it.
  2. Here you will find the latest release for JIRA connector. Add the jar file as a library in studio as shown here then include JIRA connector namespace in your configuration:

<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"      xmlns:jira="http://www.mulesoft.org/schema/mule/jira"
  xsi:schemaLocation="
    http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd
    http://www.mulesoft.org/schema/mule/jira http://www.mulesoft.org/schema/mule/jira/current/mule-jira.xsd">

及以下内容按照您的问题来编写流程.

and below write your flow like in your question.