In postman if I make the following call I get the correct comments with created date format:
http://{jira url}/rest/api/2/issue/{issuekey}/comment
This correctly returns:
...
"created": "2017-11-10T12:56:50.487+0000",
"updated": "2017-11-10T12:56:50.487+0000"
However if I use
http://{jira url}/rest/api/2/issue/{issuekey}/comment?expand=properties
Then properties gets expanded but also the dates become:
...
"created": "Friday 12:56 PM",
"updated": "Friday 12:56 PM",
"properties": []
The problem is I'm using the JIRA SDK (from nuget) which uses expand=properties and so comments can no longer get serialised. I get an error:
'Could not convert string to DateTime: Friday 11:44 AM. Path '[0].created', line 32, position 32.'
Is this a bug or am I doing something wrong?
Thanks
Hello, I just checked it. My Jira version is 7.2.2. It works correctly. Both responses are in the following format
"created": "2017-11-10T12:56:50.487+0000",
"updated": "2017-11-10T12:56:50.487+0000"
Thanks, I'm on 6.3 so it must have been fixed in a later version??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe, not sure :) I do not have any other version to test on
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 are welcome
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.