Trying to pass the ID of a newly-created Azure DevOps work item into the ChatGPT call (which comes after the trigger) but it’s only showing me a specific work item that was triggered earlier. How can I just pass the ID through to the next step?
To dynamically use the ID exported by the trigger whenever a new work item is created, you can use the following expression in your steps:
steps.trigger.event.id
or steps.trigger.event.body.id
I’m not exactly sure which one but should be one of those. You can check out the trigger export tab and click on Copy Path: