Hello,
I have a script the adds a comment to a list of issues. I am also trying to use @mention in that comment through the script. However, it won't actually initiate the mention when I run the script. I just get the text @firstname lastname without that person getting tagged (i.e. text is black not a link).
Is there a way to do this?
Below is my code:
for issue in filter_proj:
assignee = issue.fields.assignee
comment = jira.add_comment(issue, 'Thanks for the quick response, @{}'.format(assignee))
Hi there!
It will work in this way:
jira.add_comment(issue , "Please, provide an update [~{}]".format (project['lead']))
Use ~ instead of @
Thanks
is there any way to mention assignee and reporter using add_comment()
jira.add_comment(issue, "thanks @assignee @reporter") something like this?
@dantag01did you find any solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.