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

update custom field

Charlie June 13, 2022

We want to edit or update a custom field when issue linked is created.

I try this function or scheme but it always delete the previous values into the field.

what are we doing wrong please?

 

Unbenannt.JPG

1 comment

Max Foerster - K15t
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 13, 2022

Hi @Charlie 

do I understand correctly, that you want to keep the old field value and add "Issue xyz is used..." to your custom field?

Best, Max

Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 13, 2022

If so, what you need to do is, repopulate the Reused in field every time the rule runs. You can do this prefixing your current code with {{issue.customfield_10123}} where 10123 equals the "Reused in" field. You could use {{issue.Reused in}} but using the ID future proofs any name change. 
Put it at the top, start a new line and place your current content there. This way the field will build up with new entries with every rule run (on a given issue) rather than overwriting the current content with the new content.

Like Max Foerster - K15t likes this
Max Foerster - K15t
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 13, 2022

@Charlie , give a try to @Curt Holley suggestion as it will be the easiest way to append text to a field and keep us posted if you need further assistance :)

Best, Max

Like Curt Holley likes this

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events