Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×Tried:
{"update":{"labels":[{"add":"this-is-the-label-you're-adding"}]}}
getting below error:{
"errorMessages": [],
"errors": {
"labels": "Field 'labels' cannot be set. It is not on the appropriate screen, or unknown."
}
}
HI @test test
Is the labels field on the edit screen of the issue you arer trying to update ?
Regards
From the UI I am able to edit and add existing labels but while doing the same from postman it is giving the BAD REQUEST error.
Labels field is on the user interface.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @test test
What is the payload you send in the api call ?
Have you add Content-Type header with value application/json ?
Can you send a screenshot of the payload and the headers you send, please make sure to blur any Authorization hearder or anything named token or cookies.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @test test welcome to the Atlassian Community!
Can you confirm that the Labels system field is set on all issue operation screens (create/edit/view)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes labels is set on all issues and i am able to update the label through user interface but unable to perform the operation through postman.
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.
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.