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

Compare with Current View Page History

Version 1 Next »

On this page

Use case

In the following use case the summary of an issue is shortened to a maximum number of characters.



Configuration

Set up Update or copy field values

Add the Update or copy field values post function to the Create issue transition in the second position or create a new transition.

Target issue

Choose Current issue.

Fields

Choose Summary.

Value

In the popup, choose the value Set field value manually (parser expression) and write below the following expression in Advanced Text mode.

length(%{issue.summary})>99? substring(%{issue.summary}, 0,99) : %{issue.summary}

The number 99 represents the position of the furthest character that will be included in the string obtained from the substring() function. If you need to reduce or increase the length of the summary, change this number at the beginning and at the end of the expression.


Screenshots




Related use cases


If you still have questions, feel free to refer to our support team.