Creating a Story from a Demand - copying data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Zurich Patch 7
We would like to copy additional fields to the story when we create it from a demand. Most are relatively straightforward but one is a bit more complicated. We want to map impacted business applications from the Demand to product on Story. However, there can be multiple impacted business applications selected for a demand. Our plan was to create a customized version of the Create Story UI Action which would check to see if there are multiple impacted business applications associated with the demand. If so, we wanted to open a modal popup that would require the user to select the primary impacted business application which we would then copy to product on story.
Is something like this possible? We've made several attempts at this but have been unsuccessful. We want the custom Create Story UI Action to be a form link like the OOTB one is. At one point, we were able to open a modal populated with selected impacted business applications from the demand but we were unable to access the selected option back in the ui action.
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Yes, it can be done, but it will take some custom code. You can add to the Create Story UI Action so that it opens a modal, gets the user's choice, and then sends that value back to the action logic. The hardest part is getting the chosen option from the modal to stay in the UI Action context. This usually means using client-side scripts or GlideModal with a callback to change the record before the Story is made.
