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, |
...
a User Picker (Single user) custom field named Demo User Picker is considered. |
- 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. - Select Select the Create Issue post function as shown below.:
- Select the Custom Fields tab and click Add Custom Field option as as shown.:
- Add the Demo User Picker custom field and add the value as : %original_reporter%
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. - Click Update to save the settings. Verify the condition.
- Publish the workflow draft.
- Perform the transition In Progress as shown. You will transition In Progress, as shown below: You 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.
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. |