Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

4,562 views 12 8
Join discussion

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