integrations

open Jira ticket and trigger middleware deployment with Middleware Admin

Author: Vasil Vasilev
July 9, 2024

You can trigger a middleware deployment with Middleware Admin and also with a Jira ticket. To do this, you have to create a Webhook.
From the Jira System menu -> Webhooks -> create a Webhook:



Similar to ServiceNow requests, you have to provide:

- JIRA_TOKEN - generated from Middleware Admin -> Configuration -> External -> External Api Access
- MW_ADMIN_WEB - the DNS of the server where Middleware Admin is running
- WFID - Workflow ID - can be taken from the midleo.CORE workflow list

Back to Jira - select checkbox - issue created and save the Webhook.

Now we have to add this Webhook to the Jira Workflow - Adding a webhook as a post function to a workflow
In our case:



After the workflow is published, you need to create one user and API Token: Manage API tokens for your Atlassian account



Add this in Middleware Admin -> Configuration -> External -> Jira



You need to Grant this user for the selected Jira Project so it can add comments. The users and groups can be seen in the Jira -> User management -> Users or/and Groups.

After the permissions are in place, you can start using the deployment connection to Middleware Admin.
In the following sample, you can trigger START of the IBM App Connect server - similar to Restart application servers with external request system and Middleware Admin

Create an incident from Jira:



A new request will be created in the Middleware Admin:




Depending on the Workflow logic, it can be executed automatically or manual steps can occur.
Each time there is some change with the Request when it is sent to the next step, you can see the updates in the Activity section in Jira Ticket: