Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-1976

Can't create issues on copy project where users are in non default roles

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.1.3.15, 4.3.4
    • Fix Version/s: None
    • Component/s: Built-in Scripts
    • Labels:
    • Sprint:
      Sprint 26 - Ends Sept 1, Sprint 26 - Ends Oct 3
    • Critical Points:
      1

      Description

      We create issues in the target project without copying the permissions scheme across first. If the user copying the project is in a non default role that has the create permission then the creation of issues in the target project will fail:

      /rest/scriptrunner/latest/canned/com.onresolve.scriptrunner.canned.jira.admin.CopyProject [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Error occurred while creating issue through workflow: User 'someone' doesn't have the 'Create Issues' permission
      

        Attachments

          Activity

            People

            Assignee:
            amarkham Adam Markham
            Reporter:
            amarkham Adam Markham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified