Automation - How add assignee to Checklist item

Tilman Ulshoefer November 2, 2023

Dear everyone,

I have a rule where I want to change the assignee for a checklist item. What is the correct syntax for the value to assign the stated user?
Assignee.png

 

Kind regards, Tilman

4 answers

2 accepted

2 votes
Answer accepted
Maxime Lefebvre _Okapya_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2023

Hi @Tilman Ulshoefer

You need to put the assignee name in there. If you want to assign a user D012345 then you specify that and nothing else. There is no assignment with "=" necessary.

The example with {{assignee.name}} is if you would want to assign the issue assignee to the checklist item.

Also your filter on item name should not need double quotes ( " ) (unless your item name actually has quotes in it).

Let me know if that helps!

Kind regards,
Maxime

2 votes
Answer accepted
Pascal Perreault _Okapya_ November 2, 2023

Hi Tilman,

What you enter in the Value column must be whatever you want to use as the value of the selected action.
In your case, you need to enter the username of whoever you want to be assigned to the item whose name matches your filter, and you can use smart values like `{{assignee.name}}` to use the issue's assignee.

Also, as a side note, the name filter uses Regular Expressions to match your item names, so if your item name doesn't contain the double-quotes ("), then your item might not match.
For help with regular expressions, see Java Regular Expressions from w3schools.

For more information, see our documentation on the Edit Checklist items action here.

I hope this helps. If you need more help, please do not hesitate to reach out to us on our support portal!

Kind regards,

0 votes
Chris K
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2023

Shout out to @Maxime Lefebvre _Okapya_ and @Pascal Perreault _Okapya_ :)

I just wanted to answer and help, but the Okapya guys are faster than light :D

 

After testing the automation on our instance, I can confirm that the rule works by using the username and a correct regular expression for the item name.

 

Greetings

Chris

Tilman Ulshoefer November 2, 2023

So cool, thank you so much for your fast and valuable answers, @Maxime Lefebvre _Okapya_ and @Pascal Perreault _Okapya_ 

It works now fine!

0 votes
Marko Blagus
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 2, 2023

Hello Tilman,

 

Did you try just {{assignee.name}}?

 

Best regards,

Marko Blagus

Suggest an answer

Log in or Sign up to answer