atlassian-python-api
atlassian-python-api copied to clipboard
[Jira] Issue in Jira's set_comment_property
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
}
}
}
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?