Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-66840

Error message returned on editing an issue when a user does not have permission is bad

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • None
    • REST API
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Hi,

      Steps:

      1. Fire REST Request: https://server.de/rest/api/2/issue/ABC-1234
        JSON: {"fields":{"customfield_123456":"something"}}
        
        
      2. Error returned "400: "Field 'customfield_123456' cannot be set. It is not on the appropriate screen, or unknown."

      Initially thought of a different reason for this error, apparently user does not have an 'Edit Issue' permission so with the same request, just granting permission works.

      Jira Version: 7.7.1

      Suggested error message: '401: "The calling user does not have permission to edit the issue.'

      Issue similar to: https://jira.atlassian.com/browse/JRASERVER-44003
      Derived from Support Ticket: https://ecosystem.atlassian.net/browse/DEVHELP-976

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              acalantog Anne Calantog
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: