Forums

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

how to copy the value of an old field to a new one.

larisa November 7, 2023

Hello.
To optimize the work, you need to change the fields for bugs in Jira.
(In particular, the 'Description' field to change by the customer field). I need to create a new customer field and hide the old one, but then the data from the field of previously introduced bugs is lost.
A problem arose about how to copy the value of an old field to a new one.
Please tell me how to do this.

2 answers

1 accepted

0 votes
Answer accepted
Sanjen Bariki
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.
November 7, 2023

Hi @larisa ,

 

Welcome to Atlassian community!

Can you please explain the requirement in detail to investigate the solution..?

Yes this possible to copy the value of an old field to a new one But before that please let me know by example.

 

Regards,

Sanjen Bariki

larisa November 7, 2023

I created a custom field 'Bug description' and I want to change the system field 'Description' to the new one in the issue.
Before this operation, I needed to copy data from the old field to the new one.

Screenshot 2023-11-07 125446.jpg

Sanjen Bariki
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.
November 7, 2023

Hi @larisa ,

 

Don't need to worry and purchase any plugin.

you can achive it by the help of autmation,

Please find the below automation screeshot to achive.

project setting >>Automation >> trigger ( Issue created ) >> action ( edit issue )>> add the smart value {{issue.Description}} and select the Bug description field.

Accroding to you can change trigger like wants to run the automation at the time of update then you can select. I have configured and triggered sucessfully.

 

Copy value from Description.png

Kindly check and confirm, If you have any doubts.

Note:- At the time of reply to me mention my name.

Accept the answer, I hope the solution matched with your requriments.

Regards,

Sanjen Bariki

Like larisa likes this
larisa November 8, 2023

Hi @Sanjen Bariki , 

maybe I did something wrong, but the solution didn't help me. :(

My rule:Screenshot 2023-11-08 172508.jpg

My log:Screenshot 2023-11-08 172728.jpg

Not updated issue:Screenshot 2023-11-08 172937.jpg

Please tell me where I made a mistake.

Thanks.

Larisa.

Sanjen Bariki
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.
November 8, 2023

Hi @larisa ,

 

Could you please create one new issue and add only text msg then check Is that working or not..? Make sure the bug description needs to be as text type field.

automation step :-

Trigger :- create issue 

Action :- edit issue ( Click on the field set >> select Bug description >> add the smart value {{issue.Description}}.

 

Regards,

SB

Like larisa likes this
larisa November 9, 2023

Hi @Sanjen Bariki ,

I created a new issue with text only in the Description field, but I get the same results:Screenshot 2023-11-09 160346.jpg

Logger:Capture_test.JPG

Like Sanjen Bariki likes this
Sanjen Bariki
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.
November 9, 2023

Hi @larisa ,

 

Could you please check the Bug Description field type ..? Is it text field or date field type.?

I have created and tested in my personal instance and its worked perfectly.

Kindly check again the smart value and make sure you are putting the correct values without any space.

 

Regards,

Sanjen Bariki

Like larisa likes this
larisa November 9, 2023

Hi @Sanjen Bariki

It is same fields type:Screenshot 2023-11-09 191250.jpg

Sanjen Bariki
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.
November 9, 2023

Hi @larisa ,

 

Smart value is very sensitive things So kindly check again and make sure you are putting the right smart value.

If get a change, please go through the smart value document from Atlassian site 

 

Regards,

Sanjen

Like larisa likes this
larisa November 26, 2023

Hi @Sanjen Bariki 

In the end, your recommendations work. This was a great solution!
I recommend it to anyone who has this problem.

larisa November 26, 2023

for example:Screenshot 2023-11-26 175707.jpg

As you can see, both text and pictures are copied.

Sanjen Bariki
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.
November 26, 2023

Hi @larisa ,

 

Thanks for your feedback.

 

Regards & Cheers,

Sanjen

0 votes
Ezgi Bayındır
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.
November 7, 2023

Hello @larisa ,

This is not currently included in the default features of Jira. You can find many plugins on the Marketplace that can help you with this need. You can perform any action you want by using JWT post functions, one of the most popular ones. Jira Workflow Toolbox | Atlassian Marketplace

larisa November 7, 2023

Thanks for the answer, but to pay for a one-time job...

Like Ezgi Bayındır likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events