Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to restrict issue type "Import Issues from CSV " from the Issue Menu dropdown

Mark Sayo April 8, 2020

Is there a way to restrict a certain issue type "Import Issues from CSV " from the Issue Menu dropdown for a specific user?

Right now if you have "Create issue permission" you can create any issue type using "Import Issues form CSV" even if you don't have permission to create it manually.

 

[Edit]

Sample:

User1 can only upload Issuetype1 but will not be able to upload Issuetype2

or the list of issuetype in the mapping are only Issuetype1

 

2 answers

0 votes
Mark Sayo April 10, 2020

Our solution is to add validator in the Create transition using scriptrunner.

0 votes
Joe Pitt
Community Champion
April 8, 2020

How are you restricting users from creating any issue type in the project? Out of the box you can only give the user create in the project, it doesn't go down to the issue type. 

Mark Sayo April 8, 2020

We are using scriptrunner to hide the issuetype that is not available to the specific user

Joe Pitt
Community Champion
April 8, 2020

I don't use it, but it looks like the script isn't being invoked during the import process. I would review the scriptrunner documentation to see if there is a way to have the import invoke the script

Suggest an answer

Log in or Sign up to answer