Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article explains how to store the original reporter of the parent issue in a the user picker custom field for the a newly created issue using Create On Transition app.

Instructions

Note

In this article, we considered a User Picker (Single user) custom field named Demo User Picker is considered.

  1. Add a post-function to the intended transition to create an issue.
     To add a post-function, navigate to Cogwheel > Settings > Issues > Workflows > select the workflow of the project and edit the same.
  2. Select Select the Create Issue post function as shown below.:
    Image Modified
  3. Select the Custom Fields tab and click Add Custom Field option as  as shown.:
    Image Modified
  4. Add the Demo User Picker custom field and put add the value: %original_reporter%
    Image Removed
    By giving the mentioned %original_reporter% as value in Demo User Picker custom field, This assigns the reporter of the parent issue will be is copied to the newly created issue.
    Image Added

  5. Click Update to save the settings. Verify the condition.
    Image Modified
  6. Publish the workflow draft.
  7. Perform the transition In Progress, as shown below: You will notice that for the newly created issue Demo User Picker will get updated with the original is assigned as the original reporter (admin) of the parent issue.
    Image Modified

Info
It is recommended to try the solution provided in a non-production environment and ensure everything is working as expected, before trying in a production environment.