Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

Repeating Issues app allow to edit system and custom field values when setup repeating actions. To edit custom fields please clicking on "More..." link on repeating issue dialog - this will load fields that can be edited for given issue type.

Only fields added to create/edit screens associated with given issue type will be available for edition. When you can't find your custom field you can add it directly to an issue (Issue view > Admin > Add field) or configure screens for custom fields (Jira Administration > Issues > Custom Fields > cog icon > Configure).

For more details how to create and configure custom fields please check Jira documentation.

All fields will have simple form input where static value or dynamic value can be provided - see Velocity Template Language in Repeating Issues app.

Special velocity variable for custom field

Each custom field has special variable $this available in velocity context. This is just the current field id (e.g. 'custom field_100001') and this can be used e.g. together with Issue.getCustomField(<fieldId>) method.

Sample custom field values or expressions

Custom field type

Value

Description

Any custom field type

$!sourceIssue.getCustomFieldValue($this)

Field will have the same custom field value as source issue.

Date Time

$!sourceIssue.getCustomFieldValue($this).addMonth(1)

Date field will have the date equal to the corresponding field value of source issue + 1 month

Date Time picker

11/sep/19 1:15 PM

Datetime field will have the date and time equal to '11/sep/19 1:15 PM'

Select List (single choice)

#if(${repeating.date.month} === '10")10000#{else}10001#end

If the repeating occur in October then the select list custom field value will be option with id 10000. In other months the value will be option with id 10001

Select List (cascading)

[20000, 20020/]

Field will have cascading value with parent option with id 20000 and child option with id 20020

Checkboxes

[10000]

Field will have selected checkbox for option with id 10000


  • No labels