Forums

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

Copy custom field value

Geethanjali S J
Contributor
September 21, 2021

Hi, 

We have total 5 custom fields we need to copy that 5 custom field values to other new 5 custom fields. 

Can we do this by Automation. 

We are using jira cloud. 

Can anyone help me with this. 

Thanks, 

Geethanjali. 

1 answer

1 accepted

0 votes
Answer accepted
KAGITHALA BABU ANVESH
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 21, 2021

Hi Gitanjali,

 

are these 10 custom fields appear for the same issue type.

or

you need to copy the value from one issue type to another. can you please help me with this

 

Thanks,

Kagithala babu anvesh

Geethanjali S J
Contributor
September 21, 2021

Within the same issuetype

KAGITHALA BABU ANVESH
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 21, 2021

Hi , If any value changed in one custom field , that to be copied to other custom field ?

is this is your requirement. ? 

KAGITHALA BABU ANVESH
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 21, 2021

I've done this workaround.

I created 2 custom fields Custom1, custom 2.

 

Custom field id for "Custom1" is 10200

Custom field id for "Custom2" is 10201

 

My requirement is if "Custom1" is edited the same value to be displayed in "Custom2".

 

I Created a new automation rule as below.

 

1. Trigger - to check field value change

 

image.png

2.  New Action --> Edit issue field --> selected "Custom2"

image.png

3. choose "Copy from Current issue"

image.png

 

4. applied the below code to copy value from custom1 -> custom2

image.png

and saved the rule.

I changed value in custom1, the same value is copied into custom2.

adding my audit log for referenceimage.png

So you can perform the same for your required 5 fields.

 

Thanks,

Kagithala Babu Anvesh

Geethanjali S J
Contributor
September 29, 2021

Thank you it works for me. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events