Request A Demo
Back to All Blog Articles

FlexDeploy Jira Integration (Part II of II)

This blog article is the second part of a two-part series which dives into the FlexDeploy integration with Atlassian Jira.  The first article in the series focused on updating Jira issues based on build and deploy operations in FlexDeploy.  The second part will focus on automatically approving FlexDeploy tasks based on Jira workflow transitions.

Just like with the use case in the first article, we associate Jira tickets to a particular build by referencing the ticket number(s) in the SCM commit messages.  With this use case we will define external approvals which are required to deploy into a particular environment.  An approval task will be created for each Jira ticket associated to the build whenever a deployment is requested to the configured environment.  Each task is then automatically approved whenever the associated Jira ticket transitions to a defined workflow status.

Let’s take a look at an example.  We will configure an external approval such that deployments occur to production only after all associated tickets are set to Done status.  First we will create an External Approval on the application which contains our project.

one

two

Select the environment, the default approval group, and Jira as the issue tracking system.  The default approval group is a group within FlexDeploy which has privilege to approve the task.  This is provided as a safeguard to eliminate the possibility of an approval task becoming orphaned if the issue is discarded in Jira.  The next step is to define the Jira status which triggers these external tasks to be auto-approved.  This status can be configured on one of two levels.

In the global configuration of the Jira issue tracking system.

three

Or overridden by the project configuration of the issue tracking system.

four

Now let’s see it in action by committing a change to the SCM and referencing a couple of Jira tickets.

five

six

Now let’s submit the build for the project and see that both tickets get associated to the build.

seven

And now let’s submit a deployment to Production and see what happens.

eight

nine

Now let’s update the status of both Jira tickets to Done.

ten

eleven

And within a few seconds we see that tasks are automatically approved and the FlexDeploy deployment transitions from the Pending Approval status to Submitted and begins execution.

twelve

thirteen

FlexDeploy’s Jira integration promotes the strengths of both products to create one seamless user experience!

 

Related Resources

Unlock the Power of DevOps Compliance for Your Enterprise Software

In today’s fast-paced software development environment, ensuring compliance with regulatory standards and policies is not just a necessity—it’s a strategic ...

Integrating Tricentis Tosca (DEX) with FlexDeploy for Test Automation

Tricentis Tosca is a software testing tool that is used to automate end-to-end testing for software applications. Tricentis Tosca combines ...

Integrating ACCELQ with FlexDeploy for Seamless Test Automation

ACCELQ is a cloud-based, continuous testing platform that offers codeless test automation for web, mobile, API, desktop, and packaged applications. ...

Join DevOps leaders across the globe who receive analysis, tips, and trends in their inbox