Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

custom field value + summary

Edvinas Puslys September 2, 2021

When using automation I set it to work when the custom field is changed. Once it is changed the value gets added to the summary as so: {{issue.custom field name}}{{triggerissue.summary}}. Every time I change the value it gets added in front of the summary (custom field value + custom field value + summary), instead of only changing the value of the custom field in the summary.

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 2, 2021

Hi @Edvinas Puslys  -- Welcome to the Atlassian Community!

For automation questions like this, please consider posting an image of your rule and the audit log.  That will provide context for the community to offer ideas.  Thanks!

For what you are noting, you can solve this if you add some type of separator/delimiter between your field and the original summary.  For example a semicolon.  Then you can use a function like substringAfter() to help.

  • trigger: custom field changes
  • action: edit summary to add the new custom field value
{{issue.custom field name}}{{issue.summary.substringAfter(";")}}

You may need to adjust this to handle the special case when there is not semicolon, or always add one to start.

Best regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events