I’m having trouble with Jira Cloud automation. I want to set up a rule that tags specific people in ticket comments based on certain categories. But it’s not working as expected.
When I use [~username] in the automation, it shows up as @unknown in the comment. It’s not finding the correct user. I’ve tried different ways of writing the username, but nothing works.
I know I could use the user ID, but that’s not a good long-term solution. It would be hard to maintain.
Does anyone know how to fix this? Is there a trick to making sure the automation correctly tags users in comments? Any help would be great!
hey, i’ve dealt with this too. try using the user’s email instead of username, like [[email protected]]. it worked for me. also, double-check permissions - sometimes that’s the issue. if nothing else works, maybe hit up jira support? they might have a fix or workaround.
I’ve encountered this issue before, and it can be frustrating. One workaround I found is to use the ‘Mention user’ function in the automation rule instead of manually typing [~username]. This function allows you to select users from a dropdown list, ensuring the correct user is tagged.
Another trick that worked for me was to use the user’s email address instead of their username. So instead of [~username], try [[email protected]]. This method seems to be more reliable in correctly identifying and tagging users.
If neither of these solutions work, you might want to check if there are any permission issues or if the users you’re trying to tag have the necessary visibility in the project. Sometimes, these underlying factors can cause tagging problems in Jira Cloud automations.
Lastly, keep an eye out for Atlassian updates. They periodically release fixes for these types of issues, so make sure your Jira instance is up to date.
I’ve found a reliable solution for this issue. Instead of using [~username], try utilizing the ‘Smart Value’ feature in Jira Cloud automation. You can access user information through the issue object, like {{issue.reporter.displayName}} or {{issue.assignee.emailAddress}}. This method is more robust and less prone to errors.
Another approach is to create a custom field for user mentions and reference it in your automation rule. This gives you more control and flexibility.
If you’re still facing problems, consider reviewing your Jira Cloud instance’s user management settings. Sometimes, discrepancies in user data can cause tagging issues.
Remember to test your automation rules thoroughly after making changes. It’s also worth checking Atlassian’s community forums for any known issues or upcoming fixes related to user tagging in automations.