altsol / redmine_mattermost

Mattermost notification plugin for Redmine
Other
66 stars 96 forks source link

Mentions? #10

Open vlatko-va opened 8 years ago

vlatko-va commented 8 years ago

can you make posts to include @ before Assignee name so he/she will "poked"

mr-gosh commented 7 years ago

if the name is present without an @ he is poked nevertheless, isn't he? at least its working for me that way...

vlatko-va commented 7 years ago

what version of mattermost do you have?

mr-gosh commented 7 years ago

3.5.0 but i could update to 3.5.1 if that helps... You could try to setup to mentioned even if your username or name is mentioned even without the @ in the MM user mention setup...

thanosk commented 7 years ago

What troubles me on this issue is that in redmine the names are usually full: "FirstName LastName", whereas everybody is using aliases/shorter nicknames in mattermost. A redmine notification then comes likes this: [redmineproject] FirstName LastName updated Bug #xyz. I don't think turning it into: [redmineProject] @FirstName LastName updated Bug #xyz is going to offer a full solution. Perhaps it would be better for each user to setup his personal mattermost settings so that he is notified whenever "FirstName" or "LastName" is mentioned, don't you think?

mr-gosh commented 7 years ago

we created the MM users and said them "please use your redmine name - if not set up your personal notifications based on the name from redmine... ;)

vlatko-va commented 7 years ago

I modified listener.rb to report Assigned to in the top line as mattermost do not parse the attachment (the box). Also "Name Lastname" is converted to "name.lastname".

Now it works as I wanted