mojira-discord-bot icon indicating copy to clipboard operation
mojira-discord-bot copied to clipboard

Implement user verification process

Open violine1101 opened this issue 4 years ago • 9 comments

The Problem

There currently is no way to link a user's Discord account to their Mojira account. In some cases it's not obvious who which account belongs to, so a verification process for linking accounts between Discord and Mojira might be useful.

Possible Solution

Add a !verification <Mojira username> command. When it is run, MojiraBot replies with a message like To link your Discord account to your Mojira account "username", leave a comment on WEB-1234 with your Discord user ID (<user id>).

MojiraBot also regularily checks that ticket WEB-1234 for newly incoming comments and checks them against the known Discord accounts. It then keeps all the linkings in a data base which can then be used to look up who which account belongs to, for example with !jira who @<discord account> or !jira who <jira account>.

Additionally, it might be nice to give verified users a special role.

Discussion needed, I'm not sure if this is really something that we want or need.

violine1101 avatar Aug 08 '20 23:08 violine1101