I have a rule that when a certain transition happens a comment should be left indicating who made that transition. The rule runs fine, but the comment is missing the name of the user. I'm using "{{initiator.name}}", should I be using something else/is this value not accessible?
Hi Adam,
You may want to try {{initiator.displayName}} as this is gives the nicer version of the users name.
If you are finding the value is still empty it might be worth raising a support request with screenshots of your rule/issues so we can debug it further.
Cheers,
Brydie [Automation for Jira]
Im using {{{{initiator.displayName}} but it comes back as an account ID. Reporter and Assignee show though...
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.
was doing this on the test site i had so i figured out it was a different issue, it worked perfectly on the prod site. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Related, if you want to actually tag (@ mention) the user who initiated the automation, that would be:
[~accountid:{{initiator.accountId}}]
This will display as the user's name in the standard format when you @ mention someone in a comments.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Casey Gould In specs they mention only displayName method for initiator. Your suggestion was very helpful
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.