Hello Alll,
We want to restrict access to tickets based on the custom field values selection.
For Example - we have a custom field(single select) called Partner and it has options 1,2,3
Tickets will be created in Project by 3rd party partners. there are 3 users of 3rd party partners, each partner has there own value in the Partner field. If 3rd party partner 1 created a ticket with a selection of Partner 1 option, the ticket has to viewable only to him and other partners should not see the other partner tickets.
We have a script runner installed in our instance. Please help me with the script if any one done this before.
Thanks in advance,
ch
Is there a reason why you don't want to use security levels (https://confluence.atlassian.com/jirakb/issue-security-levels-locks-issues-from-all-users-636421142.html)? It sounds it is a perfect solution for you.
If you need more info, feel free to ask.
ms
Hi @czsup ,
Thanks for reply. Could you please provide me more details, how to set the security level on issues with the URL you shared?
Thanks,
ch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
sorry, I post wrong link. I didn't find documentation for cloud version, but it is the same https://confluence.atlassian.com/adminjiraserver072/configuring-issue-level-security-829827025.html.
It is another scheme you can create to define permission to individual issue, not only a project.
ms
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I know about the Issue security level scheme. How can we define custom field values in the scheme?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My question was, if you can exchange custom field with definition of a partner to security level. It is not possible to have security level for each partner?
If not, you can select value of partner from custom field and then set security level according this value by post-function in a workflow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It worked with Script runner post function "Set issue security level depending on provided condition".
Thanks for the suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same situation. could you help to provide the security level and the condition that you have configured .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.