JIRA plugin permissions

Hi,

We have a plugin called Email This Issue that is used to send the issue via email. This plugin also automatically insert a comment on the issue stating that it was sent via email. For one of our project, this is really a bad thing since we are using notifications that are sent to the entire company. How can I restrict that plugin from writing comments on the issue ? I've tried restricting commenting for one group only but the plugin seems to still find his way through.

Thank you.

2 answers

1 accepted

I was finally able to do what I wanted by creating a Project Role with the name IssueMailSender and assign users to it in your projects.

If a project role with this name is used in your project and the current user is member of this role, then the operation will be displayed, otherwise not.

If you look at the Plugin home page (here), in the comment section, it said the following:

Comments are added to the issue if the user sends the email. The comment includes recipients' email address, email subject, list of attachments and the email body.

Comments are created using Velocity templates. There is a template for text based comments (templates/emailissue/comment/text/email-this-issue-comment.vm) and one for wiki markup comments (templates/emailissue/comment/wiki/email-this-issue-comment.vm) bundled in the plugin jar. You can easily customize them to create a format you like.

I think if you just go to that velocity template and remove the write command or such, it would stop logging in comments. Or delete the file, I thik that's what I end up doing...

hope this helps!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

191 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you