So I’m writing an app needs to be able to create issues But at the moment one project isn’t letting me, rejecting all my requests.
So there are two quirks happening:
- When I ask for Fields for an issue type it returned as empty for all issue types, But if I do this on another project I will get all the information
- When I create a issue it will say that I cannot set summary but then if summary is removed from the request it then says that summary is required.
I was able to create issue via python on a different project (As a check I wasn’t missing something silly), so I doing about the correct thing.
I feel like it might be a permissions issue but I am able to create issues via the browser using the same login. And I spoke to the project owner and my account is listed as consultant
Any ideas what might be the issue here?
So this is what I get back when I try to get the fields of the project
And this what I get back when I try to get the fields of a different project
Hello @GeorgeSanger
Sorry to be pedantic, but can it be assumed that you did, of course, use the Get my permissions endpoint to confirm that your ‘consultant’ account has the both the same Browse projects and Create issues permissions for both projects?
Also, was the error “Cannot set summary” or was it “Field ‘Summary’ cannot be set. It is not on the appropriate screen, or unknown.”?
1 Like
Thank you for the reply
So I permissions for BROWSE, BROWSE_PROJECT, CREATE_ISSUE and CREATE_ISSUES all permissions I don’t have I listed below. Also I am getting the second error back “Field ‘Summary’”
“summary”:“Field ‘summary’ cannot be set. It is not on the appropriate screen, or unknown.”
Sorry for the slow delay, but had to be working on other things.
ADMINISTER
ADMINISTER_PROJECTS
ASSIGNABLE_USER
ASSIGN_ISSUE
ASSIGN_ISSUES
ATTACHMENT_DELETE_ALL
COMMENT_DELETE_ALL
COMMENT_DELETE_OWN
COMMENT_EDIT_ALL
DELETE_ALL_ATTACHMENTS
DELETE_ALL_COMMENTS
DELETE_ALL_WORKLOGS
DELETE_ISSUE
DELETE_ISSUES
DELETE_OWN_COMMENTS
DELETE_OWN_WORKLOGS
EDIT_ALL_COMMENTS
EDIT_ALL_WORKLOGS
EDIT_OWN_WORKLOGS
EDIT_SPRINT_NAME_AND_GOAL_PERMISSION
GLOBAL_BROWSE_ARCHIVE
MANAGE_GROUP_FILTER_SUBSCRIPTIONS
MANAGE_SPRINTS_PERMISSION
MANAGE_WATCHERS
MANAGE_WATCHER_LIST
MODIFY_REPORTER
MOVE_ISSUE
MOVE_ISSUES
PROJECT_ADMIN
SCHEDULE_ISSUE
SCHEDULE_ISSUES
SET_ISSUE_SECURITY
START_STOP_SPRINTS_PERMISSION
SYSTEM_ADMIN
VIEW_VOTERS_AND_WATCHERS
WORKLOG_DELETE_ALL
WORKLOG_DELETE_OWN
WORKLOG_EDIT_ALL
WORKLOG_EDIT_OWN
WORK_ISSUE
WORK_ON_ISSUES
Hello
Since it’s different in two different projects, then I would focus on comparing settings for those two projects. Especially:
- Issues → screens and Issues → fields - since you get the issue type, I assume it’s added to Issues->types for the project, but maybe it’s not added to any screen or fields used for the type are not used in particular project and hence you get “Field ‘summary’ cannot be set. It is not on the appropriate screen, or unknown.”
- Workflows - different workflows used in project and thus one project has the issue type used and other not.
Just gueses, but this is what I would check next.
Thanks for the reply @ZbigniewPiecuch I’ll take a look in to these areas.