You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
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}"
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 ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Bjarke Røjgaard Jensen it was my pleasure to help :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Wow @Martin Bayer _MoroSystems_ s_r_o__ I owe you a beer, been struggling with the customField for the last few hours...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.