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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

Hi

I am creating af custom form in another system to create JIRA issues and to do so i use the Rest API, which i have used multiple times with great success.

I am facing a very strange issues. I recently added a custom select field to the default Jira screen of our service desk project. When i try to create an issue through the API where i include the custom field, i get the following error: "Field 'CustomField_10136' cannot be set. It is not on the appropriate screen, or unknown.". I've read a couple of post adressing this issue, but none of them gives a viable solution.

  • The field is visable and editable on the screen. I've actualy added the field to all screens in the project..
  • The API Key is created with a global admin account and the account has access to all screens and has can create issues and set this field in the portal.

I have done the exact same thing for another customer without any issues.

 

I use the following endpoint and json. If i remove "CustomField_10136" it is succesfully created.

$"{CustomerUrl}/rest/api/3/issue/{key}"

sdfsdfsdfsdf.PNGsdfwgwg.PNG

2 answers

1 accepted

2 votes
Answer accepted
Martin Bayer _MoroSystems_ s_r_o__
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 24, 2020

hi @Bjarke Røjgaard Jensen  could you try to use customfield_10136 instead of CustomField_10136

Thank you. You are my hero! Used 5 hours last night trying to figure it out! :)

I am facepalming a lot right now ;)

Martin Bayer _MoroSystems_ s_r_o__
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 24, 2020

@Bjarke Røjgaard Jensen it was my pleasure to help :)

Deleted user Oct 28, 2022

I am using the "customfield_10058", however getting the same error. What can be the reason. Same code is working with different Project however it is giving error for another project. Tried from Postman too, however getting same error:

{
    "errorMessages": [],
    "errors": {
        "customfield_10058""Field 'customfield_10058' cannot be set. It is not on the appropriate screen, or unknown."
    }
}
Martin Bayer _MoroSystems_ s_r_o__
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 10, 2022

Hi @[deleted] , welcome on the community. Most of the time it means you do not have your field on "Edit" screen. Check https://confluence.atlassian.com/adminjiraserver/defining-a-screen-938847288.html "Edit screen's details".

Wow @Martin Bayer _MoroSystems_ s_r_o__  I owe you a beer, been struggling with the customField for the last few hours...

For those attempting to set a custom field of type labels through the REST API that are getting this issue. Try moving the configuration outside of the fields key and into update, like so:

```
{
"fields": {
// your other fields
},
"update": {
"customfield_10029": [
{ "add": "ANY_VALUE" }
]
}
}
```

That did the trick for me.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events