OnLinkArtifact
less than a minute
class OnLinkArtifact
A new artifact is linked to a collection.
method OnLinkArtifact.__init__
__init__(
event_type: 'Literal[LINK_ARTIFACT]' = LINK_ARTIFACT,
scope: '_ArtifactSequenceScope | _ArtifactPortfolioScope | ProjectScope',
filter: 'And | Or | Nor | Not | Lt | Gt | Lte | Gte | Eq | Ne | In | NotIn | Exists | Regex | Contains | dict[str, Any] | FilterExpr' = And([])
) → None
Args:
event_type
(Literal[LINK_ARTIFACT]):scope
(Union[_ArtifactSequenceScope, _ArtifactPortfolioScope, ProjectScope]): The scope of the event.filter
(Union[And, Or, Nor, Not, Lt, Gt, Lte, Gte, Eq, Ne, In, NotIn, Exists, Regex, Contains, Dict[str, Any], FilterExpr]): Additional condition(s), if any, that must be met for this event to trigger an automation.
Returns:
An OnLinkArtifact
object.
Feedback
Was this page helpful?
Glad to hear it! If you have more to say, please let us know.
Sorry to hear that. Please tell us how we can improve.