Copying a custom field from an incident to a change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 08:30 PM
Hi, all
When I create a change from an incident in the workspace, I press “Create change request”.
At that time, I would also like to make a copy of the custom fields I have created.
For example, if there is a “test” field in the incident and the change, I want to copy the contents of the “test” field in the incident to the “test” field in the change.
Where can I fix it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 11:31 PM
Depends on the UI action. It could be in the UI action itself, or in the script include it calls. You will just need to map those fields.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2025 08:06 AM
Hello Tyoya,
Are you found where we can configure to get the custom field value of the incident on SOW interface?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 03:55 AM
This question is almost a year old and I don't really know what you mean with your question in relation to the original one. It's always better to create your own, new question unless you have the exact same issue and the steps provided by others didn't help. That means you at least have to let us know what you did in relation to the UI action/script include that was already mentioned.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 08:53 AM
Hello Mark,
It is not possible to use script include because the fields are loaded on the screen before the record is saved. And the SOW for some Actions does not use the default UI Action. It uses the Form Action of the Declarative Actions. This is the case of the Create change request action of the SOW.
However, this morning, while performing some tests, I saw that it is possible to add a query-type payload map to this button that allows this mapping.
So, to make this change, it is necessary to open the form action related to the SOW action, in the Advanced View, insert the query parameter in the payload map. And use the value {{fields.<fieldname>.value}}