Forums

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

Copy custom field to another (custom field doesn't appear on search)

ranarivelo May 23, 2019

Custom field doesn't appear when i try to copy one to another using build script. 

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
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.
May 23, 2019

The built-in field copy script can only copy between compatible custom fields.  I suspect you're trying to do something like copy a string field into a date field.

If you want to convert between types, you will need to write your own code to do it.

ranarivelo May 23, 2019

Thank you for your answer. The problem is that i want to copy a custumfield to another but no one appears on the searcher. So i can't choose what is my customfield source and what is my target. 

Nic Brough -Adaptavist-
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.
May 23, 2019

If you get nothing in the searcher, you probably don't have any compatible fields to copy to.

Could you look at the source field and get its type, then look at the rest of your fields to see if any are compatible?

ranarivelo May 23, 2019

The field that i have to copy is a textfield. I have many other fields with the same type but those fields are available on search. 

Nic Brough -Adaptavist-
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.
May 23, 2019

Ok, is there still a problem here, if your compatible fields are appearing?

Or do you need help with a field data type conversion?

ranarivelo May 23, 2019

I did my search on different server so it was normal. The problem now is when i try to copy a checkboxe custom field values to another checkboxe, the copy doesn't work. Perhaps copy between checkboxes is not compatible?

ranarivelo May 23, 2019

I found the reason. In fact, when you try to copy a value of checkbox, you have to put the value on the target before.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events