Forums

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

Copying Multiple Fields via Groovy

Zachary Singh
November 1, 2023

Hi All-

 

I am trying create a script for updating multiple issue fields from a source field to a target field in one go. We have the following already determined for our field mappings: 

  • Multi Select to Single Select 
  • Single Select to Single Select 
  • Text to Text 
  • Single User to Multi User Field 

I am aware of the the build in ScriptRunner Job that allows us to utilize a filter, but we have to do it field by field and we have over 20+ fields and thousands of issues. 

Any help would be great!

1 answer

0 votes
Zaheer Kazi
January 17, 2023

Not sure if this is already addressed, but i have a similar situation now, so i will try doing it in three steps, 1) Create the filter 2) Get the filter ID from the response 3) Set the permissions for filter ID received in step 2)

Suggest an answer

Log in or Sign up to answer