When you publish a Jira connection in Application Integration, the Actions and Objects appear on the Metadata tab.
Jira Connector is implemented with a generic approach in Application Integration. For example, a single Create Object action is applicable for multiple entity types. You can use the following URL format for all CRUD operations, such as Create, Update, Get, and Delete:
Consider the following information when you use specific actions and objects:
•The Validate JQL Queries action validates JQL queries. When the queries are validated, you can use them to find issues that you are interested in. You must set the query array as strings.
In some cases, you need to provide additional query parameters. For that, you must set the queryParams input parameter. It is an array that allows you to specify multiple query parameters.
•The Query Issues action retrieves Jira issues and allows you to apply a JQL query. To query issues that belong to a specific project with low priority, you must specify the query in the following format:
project = 'Project1' AND priority = 'Low'
You can also set maxResult to specify the maximum number of issues to be returned and startAt to specify the number of records to be skipped.
•The Query Objects action retrieves multiple records for the specified entity type. To query the records, specify entityType, such as issuetype, filter, or project, to query objects and id property to query objects by ID. You might need to specify queryParams in some of the requests.
•The Create Object action inserts a single record in the specified entity type. To create a record, specify entityType and object, that is, the list of specified entity type attributes. For information about the required attributes for different entity types, see Jira documentation.
•The Update Object action updates the specified record with the name-value pairs of the parameters included in the request body. To update a record, specify entityType, ID of the entity, and object, that is, the list of the specified entity type attributes. For information about the required attributes for different entity types, see Jira documentation.
•The Delete Object action deletes the specified record from the specified table. To delete a record, specify entityType, and ID, that is, the identifier of the specified entity type.
•The Create Attachment action attaches a file to an object in the specified issue. To attach a file, specify the ID of the issue and the file property of the file to be attached.
Some Jira actions require multiple domain segments where {secondaryEntityType}, {secondaryId}, and {extraId} properties are used.
For example, the Jira action link /rest/api/2/issue/createmeta/:projectIdOrKey/issuetypes/:issueTypeId contains the following segments: