Reporter domain for issue security level

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!

3 answers

1 accepted

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!

0 vote

No, you'll need to map them into groups, or roles. The reporter domain isn't used in Jira's permission schemes.

Hi Nic!

Thanks for answering. I know that it is not part of that, nor possible to add in the security level, so that is why I am asking here to get some cool tricks :)

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)

Yeah, that was my thought as well. And I was hoping someone else had done something like that before...

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

192 views 4 8
Read article

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