How to track component versions in Jira

The market is changing fast. New products are released daily. What took a year to develop in the past now takes weeks or months. How are product teams doing that?

 

More and more companies are starting to practice lean product development. Continuous improvements to their products help them react quickly to user feedback and changes in the market.

As a response, companies started implementing microservices and creating reusable components to enable faster development.

Reusable Components

Let's have a closer look at the reusable components approach. For example, the web application project consists of components like Database, APIs and custom UI kit library. When you start building the next application, you can re-use the same components, in this case, the UI kit library. You don't need to spend precious time on developing new UI, and you can focus mainly on business logic.

Apps are created from components that can be shared across

 

Applications usually go through many release iterations during their lifecycle to enable continuous improvement of the app. If the app consists of many components, you find yourself in a situation when you need to release a new version of the component first. Then you update your application with the new component version.

If the component is used in many apps, it also often happens that different apps use a different version of the same component.

That can happen for many reasons, for example:  

  • the update of the component is planned but wasn't performed yet,
  • the new version of the component caused side defect in the app, and an update was postponed till the new component version is released with an appropriate bug fix,
  • the update was missed accidentally due to miss communication or lack of release tracking.

Different component versions are used in different applications.

To gain better visibility over your component releases and application releases in general, it's good practice to track what and when was the version deployed, and have quick and easy access to these reports.

Tracking Component releases in Jira

Jira allows basic project releases tracking out of the box. You can create a new release in your Jira project, give it the name, description, start date, and release date and link issues that are delivered.

Project Releases in Jira

There is also an option to create components and link issues to them. But components don't have versioning functionality available by default, so we need to look into some workarounds.

Jira Components

Use default Jira Releases and naming conventions

Using Jira project Releases and sensible naming convention allows you to track application and component releases separately:

  • application releases [APP_KEY]-[version number], eg: OCTO-2.0.1
  • component releases [COMPONENT_KEY]-[version number], eg: UI-3.5.0

Afterwards, you can manage both Component and project releases from Jira Releases screen and use the Fix version field in JQL to filter and build reports.

Pros

  • Reporting - allows tracking component releases separately,
  • Free - there is no extra cost you need to pay except for your Jira instance.

Cons

  • No hierarchy support - there is no link between component and project versions,
  • Hard to manage - Jira Releases page might be overpopulated with an ongoing project and component versions with no ability to properly filter,
  • No cross-project releases - only issues from one project can be linked to the version.

Component management app for Jira

Octo - Component Management for Jira is the Jira app that enables Component releases. You can create a Component version and give it a name, description, Start date and Release date and link the component itself.

Then you link Jira issues to the Component version, and you can use JQL to search.

Component versions for Jira in Octo - Component Management app

Component releases have their own screen, so they're not going to mess with your project releases. To track what component version is used in which project release, you can link them together. That allows you to create the following release hierarchy:

Project and Component release hierarchy.

For more information watch the following video demonstration.

 

Pros

  • Reporting - allows tracking component releases separately
  • Project and component releases hierarchy - link component version to your project version to see with which project release uses which component version,
  • Separate screen for Component releases - Component releases are not showing in your Project release list and are managed from one single place,
  • Cross-project releases support- Component version can be linked to the issues from multiple projects.

Cons

 

 

This post was created by Jexo team and is also available on our blog.

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events