This article explains how to store the original reporter of the parent issue in a user picker custom field for the newly created issue using Create On Transition app.
Instructions
In this article, we considered a User Picker (Single user) custom field named Demo User Picker.
- Add a post-function to the intended transition to create an issue.
To add a post-function, navigate to Cogwheel > Issues > Workflows > select the workflow of the project and edit the same. - Select Create Issue post function as shown below.
- Select the Custom Fields tab and click Add Custom Field option as shown.
- Add the Demo User Picker custom field and the value as %original_reporter%
By giving the mentioned %original_reporter% as value in Demo User Picker custom field, reporter of the parent issue will be copied to the newly created issue. - Click Update to save the settings. Verify the condition.
- Publish the workflow draft.
- Perform the transition In Progress as shown. You will notice that for the newly created issue Demo User Picker will get updated with the original reporter(admin) of the parent issue.
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. |