Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to automatically add custom data fields to another custom field

Liugc August 7, 2023

I have added some custom number type fields. I hope that after filling in the numbers, they can be automatically added to another custom field. What should I do

A-G it's my custom fields,when I filling in the numbers,they can be Automatic accumulation to G

 

微信图片_20230808135443.png

1 answer

0 votes
Y Dang_Candylio
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.
August 8, 2023

Hi @Liugc

You can't copy value of a field after filling in it to another field. However, there are another way you can get this. You can leave a blank at that field. After creating issue, that field will be copied by automation.  

  • Trigger: Field value change -> Choose the field from which we need to copy the value
  • New action: Edit Issue
    • Choose the field which you want to copy the value to
    • Click "..." and choose Copy From
    • Choose from the "Field to copy value from" the field from which you want to copy the value from.

Hope the above helps!

Liugc August 8, 2023

Hi,thank you for your help

then how can I create trigger?微信图片_20230808172224.png

My current idea is to write a piece of code through ScriptRunner, and then execute it automatically. At present, an error is reported. Can you help me to see how to solve it, or tell me how to create a fault

Suggest an answer

Log in or Sign up to answer