Forums

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

Copying field between 2 different projects

Ken Klawiter August 11, 2023

I am trying to copy a field between 2 projects.  Here is my scenario.

Project A contain the field I want to write to (Field Location).

Project B is a list of assets, based on a serial number (which also contains the field location)

I started with a branch based on JCL to find my asset, and that works fine.  Since I branch, I realize I am in Project B now.  For the match (and there is only 1) I want to take the Field Location from Project B, and move it back to Project A.  

I have also tried For Linked issues.  

Everything I do tries to update Project B, and not go back to A.  In the edit field, there is no way to use the custom field for project A.  Since Project A is calling the automation, I cannot flip the 2.  

I have written a number of scripts where I am updating the field in project B, but never one where I have to go back to Project A.  Any help would be greatly appreciated. 

 

Thanks,

Ken

1 answer

0 votes
Kian Stack Mumo Systems
Community Champion
August 11, 2023

@Ken Klawiter

 

In server, I think your best bet would be to send a web request action once you've grabbed the value you want. If you use the edit issue end point you should be able to update the value on the trigger issue.

Ken Klawiter August 14, 2023

Thank you for the reply.  Would you be able to provide some additional information on how I can do that?  

Thanks,

Ken

Kian Stack Mumo Systems
Community Champion
August 14, 2023

Which part do you need information on?

For sending a web request from Automation for Jira, see this documentation.

 

For information on the rest API to update Jira Server, see this documentation.

Suggest an answer

Log in or Sign up to answer