Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,803
Community Members
 
Community Events
165
Community Groups

Is Jira REST API can not use for free plan users ?

I always getting these error when try to create issue via REST API 

Field 'Summary' cannot be set. It is not on the appropriate screen, or unknown.

 

Is this REST API can be use on FREE plan users ? 

I've check the permissions for the user and all seems ok.

The user has administrator level for that project.

 

May I know what I'm missing here ?

2 answers

0 votes
Dirk Ronsmans Community Leader Aug 09, 2021

Could you maybe share your REST payload? Maybe something is wrong there.

The error message isn't always that accurate. You can get this specific one too if you just cannot see the field or if you are somehow trying to access the wrong issue type/project

Sure @Dirk Ronsmans ,

 

Here is my JSON raw data send to create the issue

{
"fields": {
"Summary": "TEST REST API",
"issuetype": {
"name": "Task"
},
"project": {
"key": "OPS2021"
}
}
}

 

and here is the response result

 

{
"errorMessages": [],
"errors": {
"Summary": "Field 'Summary' cannot be set. It is not on the appropriate screen, or unknown."
}
}

 

Hi @ARCode ,

Could you try it by changing the case of the word summary to all lowercase?

I do believe it is case sensitive and Summary is not the same as summary

So:

{
"fields":{
      "summary": "TEST REST API",
     "issuetype": {
"name": "Task"
},
"project":{
"key": "OPS2021"        
}    
}
}

 

Like Hana Kučerová likes this

I have try it but i still wont work...is the REST API Need specific permission ?

The administrator is not enough?

Dirk Ronsmans Community Leader Aug 09, 2021

Do you still get the exact same error message?

The API doesn't need specific permissions it requires the same permissions as if you were to create a ticket manually thru the UI. 

So if your administrator account can create an issue in the project manually then it should also be able to do so thru the API

Like Hana Kučerová likes this

Yes, @Dirk Ronsmans , I'm afraid I still getting the same errors, do you have another suggestions ? 

 

I have set another field as required fields, but in my RAW data, I just post "summary" field value, is can be cause the problem ?

Dirk Ronsmans Community Leader Aug 10, 2021

well that would give you a problem yes but the error would be different imho.

You could try a few things:

  • create a new issue type/or even a project as a test and not set anything mandatory and see if that works
  • can you do any other calls towards that project, like a createmeta or reading of an issue?

a create issue is often the trickiest one that there is (besides maybe an update) so it would be easier to take this step by step and troubleshoot each action.

Like Hana Kučerová likes this
0 votes
Hana Kučerová Community Leader Aug 08, 2021

Hi @ARCode ,

according to the error message I would check, if Summary field is on Create issue screen in your project, where you are trying to create the issue.

See more here about screens.

Hi @Hana Kučerová 

 

Thanks for the answer, I've check over and over again on my screens settings, the summary field is in there .. You can see my screen capture.

 

 

image.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Work Management

Join us for a live demo of Jira Work Management

Interested in learning more about Jira Work Management? Have questions you want to get answered? Join us for our upcoming live demo where we’ll take you through the essentials of Jira Work Manageme...

1,716 views 4 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you