We have been using a developer's OAuth credentials for API access to Jira and decided to create a dedicated service account instead. I requested an account from my Jira admin with Create/Edit permissions for a specific project and generated OAuth credentials. The account can create issues without any problems, but when I try to update fields with the Jira API python wrapper I get the following error:
{ "errorMessages":[ ], "errors":{ "summary":"Field 'summary' cannot be set. It is not on the appropriate screen, or unknown.", "customfield_13305":"Field 'customfield_13305' cannot be set. It is not on the appropriate screen, or unknown.", "description":"Field 'description' cannot be set. It is not on the appropriate screen, or unknown.", "customfield_13300":"Field 'customfield_13300' cannot be set. It is not on the appropriate screen, or unknown.", "customfield_13610":"Field 'customfield_13610' cannot be set. It is not on the appropriate screen, or unknown.", "customfield_13302":"Field 'customfield_13302' cannot be set. It is not on the appropriate screen, or unknown." }
}
I know the account is assigned the User role, are there other permissions required to be able to edit an issue?
Note that the error message contains both custom and standard fields, neither of which can be edited.
Hi @Preston Crowe ,
Welcome to Atlassian Community. There are 2 things that you need to check. First, please go to permission scheme of the project and check that the user has "Edit Issues" permission, https://<instance_url>/plugins/servlet/project-config/<project_key>/permissions
Second, please check the edit issue screen of that issue type that it has all the fields that are listed as "It is not on the appropriate screen, or unknown", https://<instance_url>/plugins/servlet/project-config/<project_key>/screens
Hope this works for you.
Thank you so much @Yanty Ghani [ServiceRocket]! After requesting my Jira admin to check the project configuration pages linked above, they were able to identify the issue.
The problem was that the Edit Issues permission was not assigned to the User role for this specific project - with that information, we were able to edit the project config to give the service account edit access. Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're welcome @Preston Crowe . Glad that it helps :)
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.