Forums

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

How to copy custom field value of issue to linked issues?

Preeti Yadav July 5, 2022

We have multiselect custom field in one issue type, we have to copy selected values of multiselect field to single select field of linked issues which are of different issue type. 

1 answer

0 votes
Max Foerster - K15t
Community Champion
July 5, 2022

Hi @Preeti Yadav, and welcome to the community!

There are many options for you to automate copying field values to another issue. Depending on your use case, automation (triggered by changes on the field) or workflow post functions (triggered by transitioning issues) is a viable option. Look at the Atlassian Marketplace and available third-party apps to extend Jira's workflow capabilities. Unless you use Datacenter as a platform, you will need to look at third-party apps. On DC Automation for Jira is part of the software. After choosing a solution, you will find lots of use case implementations in the community, Google and the respective app documentation as your use case is very common. :) 

Atlassian Marketplace search for Jira workflow apps sorted by best rating 

Best, Max

Preeti Yadav July 6, 2022

Hi @Max Foerster - K15t 

Thanks for your suggestion. But we need to use behavior for our requirement. 

Exact requirement is to get selected values from multiselected field of parent issue type and copy that value to single select list of linked child issue type.

Max Foerster - K15t
Community Champion
July 6, 2022

Do you mean Adaptavist Behaviours? Behaviours is used to customize the behavior of fields on screens. I'm not sure you can update fields on linked issues or copy field values to linked issues with it. That would either require the use of a scripted listener or a post function. Depending on where the field is set. 🤔

Preeti Yadav July 7, 2022

Could you please give me a sample code , with scripted listener 

Max Foerster - K15t
Community Champion
July 7, 2022

Hey @Preeti Yadav, I'm not the right person to talk to about groovy scripts. ;) But there is an Adaptavist script library you can start looking at, and with a bit of research, you will find a ton of resources on the internet and here in the community. I have full confidence in you!

Suggest an answer

Log in or Sign up to answer