atlassian-python-api icon indicating copy to clipboard operation
atlassian-python-api copied to clipboard

[Jira] Issue in Jira's set_comment_property

Open onlysumitg opened this issue 2 years ago • 1 comments

Module: jira.py Function: set_comment_property Line : data = {"value": value_property}

The system is wrapping the "value_property" with an extra "value" key.

Example If I call this function with value_property = { "internal": true }

It will set the property value as

{
"key": "sd.public.comment",
 
"value": {

       "value": {
             "internal": true
                }
            }
}

onlysumitg avatar Aug 17 '22 12:08 onlysumitg

Hi @onlysumitg , thank you for detecting that. it has been implemented 2 years ago https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/jira.py#L374

in that PR. https://github.com/atlassian-api/atlassian-python-api/commit/31fef54892e621285ce15fa16de9e14bd1d7be94

could you please raise a PR for the fixing properly?

gonchik avatar Aug 28 '22 02:08 gonchik