Problem:
We have a custom field that our engineers select to show how many "impacted system" (50+) there are in the ticket (<-Epic).
What I want to automate is that after an issue is transitioned from one status to another, a number of stories is created based on how many "impacted systems" there are. (example, 2 impacted systems -> 2 stories created under the epic)
What I have so far:
- Trigger: When issue transition from "To Do" to "In progress"
- For each: smart value based on "impacted system" (Use 2 as an example)
- **Audit log for "impacted system" returned as 2.
- Then: Create a new "Story" in Same project.
What I expect:
- 2 stories should be created
Actual:
I am missing a requirement between "For Each" and "then"? any help is much appreciated it!