{"action":"closed","issue":{"url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/339","repository_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView","labels_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/339/comments","events_url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/issues/339/events","html_url":"https://github.com/HewlettPackard/POSH-HPOneView/issues/339","id":327245874,"node_id":"MDU6SXNzdWUzMjcyNDU4NzQ=","number":339,"title":"Get-HPOVRemoteSupportEntitlementStatus looks at the wrong EndDate","user":{"login":"simat90","id":32064649,"node_id":"MDQ6VXNlcjMyMDY0NjQ5","avatar_url":"https://avatars0.githubusercontent.com/u/32064649?v=4","gravatar_id":"","url":"https://api.github.com/users/simat90","html_url":"https://github.com/simat90","followers_url":"https://api.github.com/users/simat90/followers","following_url":"https://api.github.com/users/simat90/following{/other_user}","gists_url":"https://api.github.com/users/simat90/gists{/gist_id}","starred_url":"https://api.github.com/users/simat90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simat90/subscriptions","organizations_url":"https://api.github.com/users/simat90/orgs","repos_url":"https://api.github.com/users/simat90/repos","events_url":"https://api.github.com/users/simat90/events{/privacy}","received_events_url":"https://api.github.com/users/simat90/received_events","type":"User","site_admin":false},"labels":[{"id":803212329,"node_id":"MDU6TGFiZWw4MDMyMTIzMjk=","url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/labels/4.00","name":"4.00","color":"c2e0c6","default":false},{"id":142869941,"node_id":"MDU6TGFiZWwxNDI4Njk5NDE=","url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/labels/Bug","name":"Bug","color":"fc2929","default":false},{"id":584253363,"node_id":"MDU6TGFiZWw1ODQyNTMzNjM=","url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/labels/PendingVerification","name":"PendingVerification","color":"c5def5","default":false},{"id":565327696,"node_id":"MDU6TGFiZWw1NjUzMjc2OTY=","url":"https://api.github.com/repos/HewlettPackard/POSH-HPOneView/labels/Remote%20Support","name":"Remote Support","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":{"login":"ChrisLynchHPE","id":6956305,"node_id":"MDQ6VXNlcjY5NTYzMDU=","avatar_url":"https://avatars3.githubusercontent.com/u/6956305?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisLynchHPE","html_url":"https://github.com/ChrisLynchHPE","followers_url":"https://api.github.com/users/ChrisLynchHPE/followers","following_url":"https://api.github.com/users/ChrisLynchHPE/following{/other_user}","gists_url":"https://api.github.com/users/ChrisLynchHPE/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisLynchHPE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisLynchHPE/subscriptions","organizations_url":"https://api.github.com/users/ChrisLynchHPE/orgs","repos_url":"https://api.github.com/users/ChrisLynchHPE/repos","events_url":"https://api.github.com/users/ChrisLynchHPE/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisLynchHPE/received_events","type":"User","site_admin":false},"assignees":[{"login":"ChrisLynchHPE","id":6956305,"node_id":"MDQ6VXNlcjY5NTYzMDU=","avatar_url":"https://avatars3.githubusercontent.com/u/6956305?v=4","gravatar_id":"","url":"https://api.github.com/users/ChrisLynchHPE","html_url":"https://github.com/ChrisLynchHPE","followers_url":"https://api.github.com/users/ChrisLynchHPE/followers","following_url":"https://api.github.com/users/ChrisLynchHPE/following{/other_user}","gists_url":"https://api.github.com/users/ChrisLynchHPE/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisLynchHPE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisLynchHPE/subscriptions","organizations_url":"https://api.github.com/users/ChrisLynchHPE/orgs","repos_url":"https://api.github.com/users/ChrisLynchHPE/repos","events_url":"https://api.github.com/users/ChrisLynchHPE/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisLynchHPE/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-05-29T09:46:10Z","updated_at":"2018-10-01T07:16:13Z","closed_at":"2018-10-01T07:16:13Z","author_association":"NONE","body":"Hi.\r\n\r\nThis should not be a big issue to fix, because I'm pretty sure I've already solved it.\r\n\r\nWhen running the Get-HPOVRemoteSupportEntitlementStatus command the ObligationEndDate is not the actual support end date, that's just the day for the last update it looks like.\r\n\r\nThe real service end date is the offerEndDate in the rest response.\r\n\r\nI'm not sure if it is like this on C7000 as well but on my Synergy this is the case, so you can test it elsewhere and hopefully make the change to grab the offerEndDate instead of obligationEndDate.\r\n\r\nTo show exactly what I mean I've attached screenshots of an example i made today.\r\n![image](https://user-images.githubusercontent.com/32064649/40651162-533311d6-6335-11e8-9e8d-42c12c33d2a7.png)\r\n![image](https://user-images.githubusercontent.com/32064649/40651206-67736d4e-6335-11e8-83b6-8d506f4a5105.png)\r\n![image](https://user-images.githubusercontent.com/32064649/40651423-f58c233c-6335-11e8-8237-e36b9bcc2bcc.png)\r\n\r\n\r\n"}}
{"actor":{"display_login":"simat90"}}