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
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.”?
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.
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.