We couldn’t save your changes error when trying to update Issue layout in Team-managed project.
プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。
要約
Receiving the below error when trying to update the issue layout for an issue type in a Team-managed project.
Error: We couldn’t save your changes.
We couldn’t update the “Bug” issue type. Refresh and try again.
環境
Jira Cloud - Team-managed project
原因
Review the Network logs to verify if the issue is being caused due to a label field in the project that has exceeded the Character limit.
Example:
{
"errors": {},
"errorMessages": [
"com.atlassian.jira.issue.customfields.impl.FieldValidationException: The label 'elephant cat cow buffalo Agouti Amazon Tree Boa Alpaca River Dolphin (Pink Dolphin) Apple Moth Banana Cinnamon Ball Python Barn Owl Bobcat Cervalces latifrons (Broad-Fronted Moose) Cesky Fousek Terrier Chain Pickerel Chameleon Chamois Checkered Garter Snake Cheetah Chesapeake Retriever Chestnut-Sided Warbler Chihuahua Mix Children’s python Chilean Rose Tarantula Chilesaurus Chimaera Chimpanzee Chinchilla Chinese Alligator Water Penguin Chipit Chipoo Ghost Locust Rain Frog Tortoise Deutsche Bracke Devil’s Coach Devon Dik-Dik Dilophosaurus Discus Spider (Water Spider) Doberman Pinscher Dobsonfly Dodo Doedicurus Argentino Dogue De Dorgi Dorkie Dorking Dormouse Florida Panther Woods Cockroach Flounder Fish Flour Flowerhorn Fluke (summer flounder) Fly Flycatcher Flying Lemur Squirrel Football Forest Cuckoo Bumblebee Formosan Mountain Fossa Fox Snakes Freeway French Bulldog Lop Frengle Freshwater Crocodile Drum Eel Sunfish Frigatebird Frilled Frogfish Fruit' exceeds the maximum length for a single label of 255 characters."
],
"httpStatusCode": {
"empty": false,
"present": true
}
}
ソリューション
The above error indicates that a Label field in the layout exceeds the maximum length for a single label of 255 characters.
Review the issue layout to find the Label field that has default labels set that exceeds 255 characters.
Remove a few labels from the Default labels to ensure that the labels are below the limit.
Example: