Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Versions 1.2.5 / 1.5.2

...

Code Block
This field represents the number of Affected Versions.
<!-- @@Formula: issue.get("versions").size() --> 

The formula itself is a Java-style expression that can reference any issue field value, include arithmetic operators as well as any other Java operator, and Java method calls (such as the .size() example above). Access to issue field values is achieved by the following syntax:

...

  1. Create a new custom field, choosing "Transition Date/Time Field" for its type.
  2. During step 2, in the Description field, include the transition ID(s) (recommended) or name as described below.
  3. Optionally, specify whether you want the first or last execution of the transition(s) (new in 1.2.5 and 1.5.2)
  4. Re-index your data, as JIRA will kindly suggest you to.
Indicating the transition

The transition(s) should be indicated in the field description inside an html comment (so that it remains invisible when showing the field description), preceded by the following keyword: @TransitionId: or @TransitionName: (note the colon at the end). For example:

Code Block
 <!-- @TransitionId: transition ID --> 

or

Code Block
 <!-- @TransitionName: transition name -->

If you use @TransitionId, you can specify a list of transition IDs, separated by commas (new in 1.2.5 and 1.5.2):

Code Block
<!-- @TransitionId: transition_ID_1 , transition_ID_2 -->

You can naturally include the real description of the custom field as well. For example:

Code Block
This field represents the date and time of the Resolution of this issue.
<!-- @TransitionId: 5 -->
<!-- @Execution: last -->
Specifying whether to capture the first or last transition execution

You can also specify whether to capture the first or last transition execution, using the @Execution: keyword followed by first or last. For example:

Code Block
<!-- @Execution: first -->

If you don't specify anything, the last execution will be captured.

Anchor
transitioncallerfield
transitioncallerfield

...

  1. Create a new custom field, choosing "Transition Caller Field" for its type.
  2. During step 2, in the Description field, include the transition ID (recommended) or name as described below.
  3. Optionally, specify whether you want the first or last execution of the transition(s) (new in 1.2.5 and 1.5.2)
  4. Re-index your data, as JIRA will kindly suggest you to.
Indicating the transition

The transition(s) should be indicated in the field description inside an html comment (so that it remains invisible when showing the field description), preceded by the following keyword: @TransitionId: or @TransitionName: (note the colon at the end). For example:

Code Block
 <!-- @TransitionId: transition_ ID --> 

or

Code Block
 <!-- @TransitionName: transition_ name -->

If you use @TransitionId, you can specify a list of transition IDs, separated by commas (new in 1.2.5 and 1.5.2):

Code Block
<!-- @TransitionId: transition_ID_1 , transition_ID_2 -->

You can naturally include the real description of the custom field as well. For example:

Code Block
This field represents the Resolver of this issue.
<!-- @TransitionId: 5 -->
<!-- @Execution: last -->
Specifying whether to capture the first or last transition execution

You can also specify whether to capture the first or last transition execution, using the @Execution: keyword followed by first or last. For example:

Code Block
<!-- @Execution: first -->

If you don't specify anything, the last execution will be captured.

Anchor
parentstatusfield
parentstatusfield

...