https://dagster.io/ logo
#ask-community
Title
# ask-community
s

Stefan Adelbert

05/10/2022, 4:09 AM
Job Tags available in Failure Hook I'd like to be able to access job tags in a failure hook so that they can be added to a Slack notification. The failure hook has access to a
HookContext
. Is there a way to use that to get hold of tags for the job that failed?
y

yuhan

05/10/2022, 5:06 PM
We currently do not expose this info in
HookContext
but a workaround is to access a private property it from
context._step_execution_context.plan_data.pipeline_run.tags
1
2 Views