Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Return TaskID when executing a run-runbook Command #148

Open
MattHodge opened this issue Dec 23, 2021 · 1 comment
Open

[Feature] Return TaskID when executing a run-runbook Command #148

MattHodge opened this issue Dec 23, 2021 · 1 comment

Comments

@MattHodge
Copy link

Hi There,

Is it possible to return the TaskID of the task that was created by executing the octo run-runbook command as part of the json output here?

The use case is I want to trigger a Runbook via the API, and then go and grab any artifacts attached like in the documentation example, but without having to do the lookup.

Thanks!

@MattHodge
Copy link
Author

It looks like this information is available in the logs when using the --debug flag:

image

The request is to return the ServerTaskId (in this example, ServerTasks-133285) as part of the JSON result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant