On this page



Use case

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




Configuration


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


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 for another number.





Screenshots




Related use cases




JWT featurelink each symbol to parent page of the function category (e.g. conditions/ validators/automation action...)
Workflow function

Link to the function being used

Parser functionsLinks to all used parser expressions. Enter links separated by a blank space
Labelused to mark a use case as staff pick





Status
Tech review

Style guide