I have a JIRA project where clients from different companys report issues. Each company can have 1-5 users (same reporter domain). Using JIRA Toolkit plugin I can get statistics per company.
But now I also want to restrict issues based on company. I know I can create groups and use them, but then the users reporting should pick the correct one and that will not work.
Are there any tricks out there to get around this and use reporter domain in some way to add users to a field which can be added to the security level. Or any other way?
Thanks in advance!
I ended up doing it the following way:
For each user I added a user property called company. The value for that is set to the same as the company group.
I added a single group picker custom field, called Visible to. This field I add to the Security Level that is set default.
So when creating the issue I copy the value from this property to the group picker.
Works like a charm!
I don't think there are any cool tricks - you need to create a way of grouping the users together that Jira can actually use.
The only thing I can think of is adding some code that will extract the users domain and automatically put them into a matching group, or automatically add it to the issue when they raise it (as a select-list option, you'll then be able to use it in security levels)
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot