Skip to content

mantisbt-plugins/DefaultVersions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DefaultVersions MantisBT Plugin

app-type app-lang app-publisher authors

MantisBT issues open MantisBT issues closed MantisBT version current MantisBT version next

Description

This plugin allows for automatic setting of the "product version" and "target version" when a bug is submitted.

Installation

Extract the release archive to the MantisBT installations plugins folder:

cd /var/www/mantisbt/plugins
wget -O DefaultVersions.zip https://github.com/mantisbt-plugins/DefaultVersions/releases/download/v1.0.0/DefaultVersions.zip
unzip DefaultVersions.zip
rm -f DefaultVersions.zip

Ensure to use the latest released version number in the download url: MantisBT version current (version badge available via the ApiExtend Plugin)

Install the plugin using the default installation procedure for a MantisBT plugin in Manage -> Plugins.

Issues and Feature Requests

Issues and requests should be submitted on my MantisBT site.

Usage

Usage is simple for the most part, simply edit the plugin settings for behavior to match your desired functionality.

config

Setting the Product Version

Upon submitting a new bug/issue, the "product version" can be auto-pupulated (if not populated manually when filling out the ticket) with the latest released version.

Note that the version must exist in your projects versions list.

For example, consider the following project version set:

Version Released State Release Date
1.2.0 Released Set
1.2.x Released Not Set
1.2.1 Released Set
1.2.2 Not Released Set
1.3.0 Not Released Set
1.4.0 Not Released Set

The version number used to set "product version" in this case will be 1.2.1.

Setting the Target Version

Upon submitting a new bug/issue, the "target version" can be auto-pupulated (if not populated manually when filling out the ticket) using one of two types of behavior:

  1. Next Minor Unreleased - The "target version" will be populated with the next unreleased minor version.
  2. Next Unreleased - The "target version" will be populated with the next unreleased patch version.

Note that the version must exist in your projects versions list.

As an example of the "Next Unreleased" method, consider the following project version set:

Version Released State Release Date
1.2.0 Released Set
1.2.x Released Not Set
1.2.1 Released Set
1.2.2 Not Released Set
1.3.0 Not Released Set
1.4.0 Not Released Set

The version number used to set "target version" in this case will be 1.2.2.

As an example of the "Next Minor Unreleased" method, consider the following project version set:

Version Released State Release Date
1.2.0 Released Set
1.2.1 Released Set
1.2.2 Not Released Set
1.3.0 Not Released Set
1.4.0 Not Released Set

The version number used to set "target version" in this case will be 1.3.0.

About

Set current and target version on MantisBT bug submit

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages