Creating Epics & Stories from Demand with more fields?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2024 05:38 AM
OOB it looks like Epics and Stories don't inherit much from the Demand (short description only as far as I can tell).
I'd like to inherit a lot more, including assignment group, description, and some of the dates.
The CreateEpic UI Action calls this function from AgileDemandConversionUtil
The function seems to be open to a parameter called preFields, however the UI Action calling it never sends it as a parameter.
Has anyone successfully added more fields to the Epic/Story output from a Demand?
If so, how much did you have to mess with OOB code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2024 06:35 PM
Hi Rob,
Yes this actually works very well.
I wanted to pass some fields to be copied at story level from demand as well, I used the below code:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
For anyone who might be looking at this solution in the future, I'd have to point out that there is a table called CSM Table Map (csm_table_map) - that is not a Customer Service Management future BTW but a platform feature.
There are is one entry OOTB for stories and one for epics (Demand to Story & Demand to Epic) that are utilized by the script includes invoked when you click the "Create Epic" or "Create Story" UI actions on the demand.
Example of the Demand to Story record:
Any field you need to map, you can add it here. As you see in my example, I mapped the demand's description with the story's description and the demand's assignment group field with the story's assignment group field so these fields are transferred as well.
You can see the OOTB definition of the mapping btw expressed in the script field itself (that could be used btw for more advanced mapping needs if a direct field-to-field mapping is not enough).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
