Set the next fix version

Use case

Change the fix version of the current issue for the following one by increasing it in one unit.

🛠️ Configuration

Add the Update or copy field values post function to the transition of your choice.

Target issue*

Choose Current issue

Field*

Choose Fix Version/s

Value

In the popup, select the value Set field value manually (parser expression)

Expression*

Set the expression editor to Advanced text and use the following expression

floor(toNumber(%{issue.fixVersions})) + "." + (toNumber(substring(%{issue.fixVersions}, length(toString(floor(toNumber(%{issue.fixVersions}))))+1, length(%{issue.fixVersions}))) + 1) 

This expression will update the version 1.0 to the version 1.1, the version 1.1 to the version 1.2 and so forth indefinitely.

Variant

Bash
(floor(toNumber(%{issue.fixVersions})) + 1) + ".0"

This expression will update the version 1.0 to the version 2.0, the version 1.2 to the version 2.0, the version 2.0 to the version 3.0 and so forth indefinitely.

Use case Workflow function Parser functions
Prioritize the issues globally

Update or copy field values

indexOf() previousValue() issuesFromJQL()

Automatically fill an insight custom field after a transition

Update or copy field values

Create an internal Service Management comment on linked issues

Update or copy field values

Set a date on the same week day on alternate weeks

Update or copy field values

addDays() nextDayOfTheWeek() modulus() weekOfTheYear() datePart()

Set a Date Picker field to the nth day of the month

Update or copy field values

dayOfTheMonth() lastDayOfTheMonth() addDays()

Set the next fix version

Update or copy field values

floor() toNumber() substring() length()

Set fix version based on its start and release date

Update or copy field values 

toString() textOnStringList() unreleasedVersions() startDates() releaseDates() first()

Set Due Date with latest value among sub-tasks

Update or copy field values

fieldValue()

max()

siblingSubtasks()

Assign important issues to the project lead

Update or copy field values

Shorten the summary to a maximum number of characters

Update or copy field values

substring() length()

Match several values of a list

Update or copy field values

toString() distinct() filterByPredicate()

Assign issue to current user

Update or copy field values

Keep parent issue's priority in sync

Update or copy field values

Set assignee based on a former assignee

Update or copy field values

previousValue()

Add watchers ignoring inactive users

Update or copy field values

usersInGroup() isActive() toString() filterByPredicate()

Add days skipping weekends and holidays to a Date Picker field

Update or copy field values

addTime()

Keep track of important status updates

Update or copy field values

Fields required or changed

dateTimeToString()

Change the assignee to the next evaluator

Update or copy field values

first()

toStringList()

Add or remove request participants

Update or copy field values