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?
Kind regards, Tilman
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
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So cool, thank you so much for your fast and valuable answers, @Maxime Lefebvre _Okapya_ and @Pascal Perreault _Okapya_
It works now fine!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Tilman,
Did you try just {{assignee.name}}?
Best regards,
Marko Blagus
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.