Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation Description if user assigned

Hi All,

I dont feel this is a hard automation but I can not get it to work.

 

Workflow i want is on issue creation, If a user is assigned then the description will be updated to the following:


{{issue.description}}

{color:#36b37e}*Original Estimate:* Xh ({{issue.assignee.displayName}}){color}

 

If the issue is unassigned then it is update to:

 


{{issue.description}}

{color:#36b37e}*Original Estimate:* Xh (Staff Member){color}

 

This is a prompt to enter your name and estimation once you start a job. For the life of me I can not get the automation to detect when the assignee is "Unassigned"

 

I also tried removing the If statement and instead using {{issue.assignee.displayName | Staff Member}} as I found in another question but his does not work either. 

 

Screen Shot 2021-10-14 at 6.10.42 pm.png

 

Thank you!

1 answer

1 accepted

2 votes
Answer accepted

Hi @jonathank and welcome to the community!

Try the following rule, because I've tested it and works:

rule works.png

The problem with your rule was that even if the issue was unassigned, then the last component will be executed no mater what! Is outside of the if/else statement. So you will edit the description always.

Hahaha oh no. Thank you so much. I will go check this in the morning... What a rookie error :-/

Hopefully this will help someone else in the future!

Like Alex Koxaras likes this

No worries mate. It's easy to get lost in the UI if your are not familiar with. Especially if you have a long if statement with lots of actions. The line will get bigger ;)

Like jonathank likes this

Still shaking my head at the small text that says "Add Else" in my screenshot haha. This automation has been working great for a week now. Thanks again Alex!

Like Alex Koxaras likes this

Good to know that @jonathank and super hyped that this has been working our great for you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Confluence Cloud

🎨 Add some visual life to your templates

Hi Atlassian Community, My name is Avni Barman, and I am a Product Manager on the Confluence Cloud team. Based on feedback from you, we are giving admins more power to create templates that a...

158 views 1 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you