Jira policy

A Jira policy contains the connection details that are used by a Jira Input or Jira Request node when you connect to a Jira application.

You can use a Jira Request node in a message flow to connect IBM® App Connect Enterprise to Jira applications and issue requests to create, retrieve, update, or delete objects such as projects, issues, filters, and users. You can use a Jira Input node in a message flow to monitor changes in a Jira application and accept input. The Jira policy controls, at run time, access to the Jira application.

The Jira policy is created when you configure a connection between a Jira Input or Jira Request node and Jira by using the Connector Discovery wizard. During the process of discovery, account credentials are stored in the vault and connection details are stored in a Jira policy. The policy is created with a type of Jira, and the name of the policy is returned to the Jira node and specified in the Connection tab, in the format {policyProjectName}:policyName.

You can also create, update, or delete a Jira policy by using the Manage Discovery Connector Policies and Credentials wizard. You can access the wizard by right-clicking the policy project in the IBM App Connect Enterprise Toolkit and then clicking New > Discovery Connector policies and credentials.

You must deploy this policy before message flows that use the policy are started. If you redeploy a Jira policy, all message flows that are using the policy are stopped and restarted.

For more information about using Jira, see Using Jira with IBM App Connect Enterprise.

Table 1. Properties of the Jira policy
Property Property name in .policyxml file Description of properties
Jira Application Type applicationType This property is reserved for future use and must be set to the value online.
Jira Application Version applicationVersion This property is reserved for future use and must be set to the value v1.
Jira Authentication method authenticationMethod This property specifies the type of authentication that is used for the connection between IBM App Connect Enterprise and Jira. This value is reserved for future use and must be set to BASIC.
Jira host and port endpointUrl This property specifies the endpoint for your Jira account. For example, https://ibmappcon.atlassian.net.
Credential name credentialName

The specified credential can be defined during connector discovery and stored in the vault. Alternatively, you can specify an existing credential that was configured by using the mqsicredentials command or the server.conf.yaml file, or loaded through an external credential provider.