How to define an Automation Rule to run only if the trigger happened in a specific project

lenka_salacova November 12, 2024

I would like to sync release creation for a few projects.

Let's say I have a project collecting demands: DEMAND
Then I have a few projects for the delivery: DELIVERY1, DELIVERY2, DELIVERY3

If a release is created in DEMAND project, the same release should be created in all the DELIVERY1, DELIVERY2 and DELIVERY3 projects.

I create a rule:
Scope: Multiple projects, including all 4 projects.
Trigger: Version created
Condition: Project = DEMAND - THIS IS A PART I STRUGGLE WITH
3 Actions: Create version - one for each DELIVERY using variables {{version.name}} and {{version.releaseDate}}

So for the condition here, what is the best way how to limit the rule?
I need to have all the 4 project defined in the scope or the rule to be able to create the new versions in them. But I do not want the rule to run every time a fixed version is created in the DELIVERY projects.

Many thanks for any help :)

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 12, 2024

Hello @lenka_salacova 

You need to use a Smart Value Condition.

When using a Version trigger, this smart value will give you the key for the project where the version exists:

{{version.project.key}}

lenka_salacova November 12, 2024

Dear Trudy, thank you for the answer.

I used If: Compare two values option and I used the smart value suggested and all works fine now.

Many thanks :)

L.

Like Trudy Claspill likes this
ramyaallena
Contributor
November 18, 2024

Hi @lenka_salacova ,

 

Could you please share the whole automation with us.

 

Thanks,

Allena

Suggest an answer

Log in or Sign up to answer