Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,329,678
Community Members
 
Community Events
168
Community Groups

update custom field

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

Hi @Tcheunou Tchokomeni 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 Jun 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

@Tcheunou Tchokomeni 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
Community showcase
Published in Jira Service Management

Just dropped! New Lightning Talks: Marketplace episodes

  Hi everyone! Want to learn how customizing your Atlassian apps can improve workflows, enhance teamwork, and boost efficiency across your organization? Check out our new, 15-minute Lig...

125 views 0 1
Read article

Atlassian Community Events