Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Creating automation with condition on release fields

yanivlt May 12, 2024 edited

I am looking to create an automation where:

  • When a release is created
  • If it has a specific value inside it's description field then
  • issues will be created under it

How do I handle the condition part?

1 answer

1 accepted

2 votes
Answer accepted
Rebekka Heilmann _viadee_
Community Champion
May 12, 2024

Hi @yanivlt 

you can access the new version (if the creation is the trigger) with smart values. 

For version, you can use:

  • {{versions.name}} - Returns the name of the affects version

  • {{versions.description}} - Returns the description of the affects version.

  • {{versions.archived}} - Returns true if the affects version is archived, and false if not.

  • {{versions.released}} - Returns true if the affects version is released, and false if not.

  • {{versions.releaseDate}} - Returns the affects version's release date. Can be combined with other date and time

See Automation smart values - issues | Cloud automation Cloud | Atlassian Support for more info.

For your case it should look something like this:

Screenshot 2024-05-12 131649.png

yanivlt May 12, 2024

Thanks, tried it but not working.

Suggestions

3.png

1.png 2.png

Rebekka Heilmann _viadee_
Community Champion
May 12, 2024

The smart value is wrong.

It needs to be version without the "s" -> {{version.description}}

The reference is from the Issue section, so for when you access the fix version of an issue. It's a bit confusing.

I tested that on my site and it definitely works.

Screenshot 2024-05-12 151801.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events