Enhancement to Story Creation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 09:23 PM
Hi All,
I would like to generate a story as soon as an enhancement is created and add that story to a backlog. How can we automate this?
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 10:14 PM - edited 09-30-2024 10:18 PM
Hi @pramodkumar
There are two ways to accomplish this: you can either use Flow Designer or Business Rules.
BR Script -> Choose "After" to trigger the rule after an enhancement is created.
Table: enhancement
var story = new GlideRecord(''); -> give story table name
story.initialize();
story.short_description = current.short_description;
story.description = current.description;
story.priority = current.priority;
story.state = 'New';
story.insert();
Please mark this response as Correct and Helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 10:18 PM
Hi @pramodkumar
The best way is Flow designer but you need to ensure the story has the information like Epic, project, theme, short description, description and AC.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
