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,297,996
Community Members
 
Community Events
165
Community Groups

On a PUT request I recieve a customfield cannot be set error

I use Postman to test a PUT request in my JIRA sandbox. 

My JSON body:

{    "update": {"customfield_15315": [{"set":"11111011112"}]}}

 but keep on getting the following response:

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

 

I essentially just want to edit one field on the issue. I get this error on all the field, custom and standard.

I have admin rights and the field is visible the create/view/edit screens of this project.

This is my path rest/api/2/issue/464382 with no parameters set

1 answer

0 votes

@David van Staden


That syntax is correct. When you say it's visible, can you please confirm that if you try to create/edit an issue through the UI, you can actually see the field you want to populate?

Thanks,

Kian

Hi Kian,

Thanks for the reply.

 

I can see the field on my create & view screen.

What bothers me is if I run the following GET request https://jira.stage.eu-west-1.aws.clickatell.com/rest/api/2/issue/464382/editmeta

I only get this response: {    "fields": {}}

I was under the impression that the response should list all fields available.

When I run this GET request https://jira.stage.eu-west-1.aws.clickatell.com/rest/api/2/issue/464382/?

I get a response with all fields on that issue, even the fields that are not visible on the screen.

@Kian Stack Mumo Systems 

Any other ideas in regards to what I can look out for?

@David van Staden

That is odd, as that URL works for me if I want to look at the edit meta in my instance. Are you having problems with other API's, or just these ones?

Thanks,

Kian

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

121 views 1 3
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