0

I have updated the drop down custom field value of an issue using jira api,

https://domainname.atlassian.net/rest/api/3/issue/{issue id}

and the below payload,

{
"fields": {
        "customfield_11160": {
            "value": "Yes"
        }
    }
}

and the values are getting updated properly, but when i try to get the same issue using get api

https://domainname.atlassian.net/rest/api/2/issue/{issue id}

the following response is i get,

{
"fields": {
        "customfield_11160": {
            "self": "https://<domainname>.atlassian.net/rest/api/2/customFieldOption/11752",
            "value": "TC update required",
            "id": "11752"
        }
    }
}

but am not sure about whether am using or updating in the right way and afraid that it may corrupt the DB in a way.

Am i passing the payload in right way? or should it be modified to updated the field properly?

so please guide me through.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.