Skip to end of banner
Go to start of banner

How to copy two custom fields with same names during workflow transition

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Current »

Overview

This article explains how to copy two custom fields having the same name while using the Create on Transition - Create Issue post function. The solution suggests using the IDs of custom fields instead of names during workflow transition.

Instructions

Follow the below steps to update the post function with the custom field ID. 

  1. Log into Jira system as a Jira Administrator and click  > Issues  > Fields (under Custom fields). 
  2. Navigate to the intended custom field and click the  Configure. You will be able to see the custom field ID in the address bar as shown in the following screen.

  3. Take a note of the custom field IDs and navigate to the workflow associated with the project.
  4. Edit the respective workflow as required.
  5. Select a transition which has the post function with the custom field values.
  6. Click the Post functions tab.
  7. Click the pencil icon.
  8. In Create on Transition for Jira – Create issue(s), click Custom Fields in the left sidebar. 
  9. Now, start typing the custom field ID and select the custom field name in the Copy original issue custom fields field.
  10. Once you select both the custom field names, it will look something like:

     
  11. Click Update and publish the Workflow.
  12. Re-run the scenario and you notice that the custom fields with the same name are copied to the newly created issues.               

Test this in the development instance before implementing in the production environment. 





























  • No labels