Hi can someone help me parse the json below with spath? I haven't been able to get it to work. For example i'd like to get the value for reporter.displayName = "Bob" parsed into a field.
{
u'aggregatetimeestimate':'null',
u'customfield_10400':'null',
u'fixVersions':'[]',
u'customfield_11801':'null',
u'customfield_11802':'null',
u'customfield_11711':'null',
u'versions':'[]',
u'customfield_12500':'null',
u'customfield_12501':'null',
u'customfield_11208':'null',
u'customfield_11209':'null',
u'customfield_11206':'null',
u'customfield_11207':'null',
u'customfield_11204':'null',
u'customfield_11205':'null',
u'customfield_11202':'null',
u'resolution':'null',
u'customfield_11200':'null',
u'customfield_11201':'null',
u'customfield_10007':'null',
u'priority':'{"iconUrl": "http://xxxx/xxx.png", "id": "10000", "self": "http://xxx/xxx", "name": "Normal"}',
u'customfield_10005':'null',
u'customfield_10004':'null',
u'customfield_10003':'null',
u'customfield_10002':'null',
u'customfield_10001': u'2017-11-08T11:01:06.758-0500',
u'customfield_12343':'null',
u'customfield_11604':'null',
'_time':1509976280,
u'aggregateprogress':'{"progress": 0, "total": 0}',
u'customfield_12308':'null',
u'customfield_10008':'null',
u'customfield_12342':'null',
u'aggregatetimespent':'null',
u'customfield_12340':'null',
u'customfield_12341':'null',
u'customfield_12100':'null',
u'customfield_12347':'null',
u'creator':'{"avatarUrls": {"24x24": "http://xxx/xxx", "48x48": "http://xxx/xxx", "32x32": "http://xxx/xxx", "16x16": "http://xxx/xxx"}, "emailAddress": "bob@bob.com", "timeZone": "America/New_York", "active": true, "self": "http://xxx/xxx", "name": "bob", "displayName": "Bob", "key": "bob"}',
u'customfield_12345':'null',
u'customfield_12346':'null',
u'customfield_12348':'null',
u'customfield_12349':'null',
u'timeestimate':'null',
'key':u'XXX-5249',
u'customfield_10800':'null',
u'customfield_11702':'null',
u'customfield_11701':'null',
u'customfield_11700':'null',
u'duedate':'null',
u'customfield_11705':'null',
u'environment':u'test',
u'customfield_11709':'null',
u'customfield_10901':'null',
u'subtasks':'[]',
u'progress':'{"progress": 0, "total": 0}',
u'customfield_11500':'null',
u'customfield_10200': u'1|hzx1kv:',
u'customfield_12314':'null',
u'customfield_12357':'null',
u'customfield_11302':'null',
u'issuetype':'{"iconUrl": "http://xxx/xxx", "subtask": false, "id": "10001", "self": "http://xxx/xxx", "description": "xxx", "name": "Story", "avatarId": 10615}',
u'customfield_12001':'null',
u'customfield_12364':'null',
u'description':u'xxx',
u'customfield_11501':'null',
u'customfield_12319':'null',
u'customfield_12339':'null',
u'customfield_12338':'null',
u'customfield_11203':'null',
u'customfield_12333':'null',
u'customfield_12332':'null',
u'customfield_12331':'null',
u'customfield_12330':'null',
u'customfield_12337':'null',
u'customfield_12336':'null',
u'customfield_12335':'null',
u'customfield_10100':'null',
u'status':'{"iconUrl": "http://xxx/xxx", "statusCategory": {"colorName": "blue-gray", "self": "http://xxx/xxx", "id": 2, "name": "To Do", "key": "new"}, "description": "", "id": "10002", "self": "http://xxx/xxx", "name": "To Do"}',
u'customfield_11712':'null',
u'customfield_11713':'null',
u'customfield_10006':u'9223372036854775807',
u'reporter':'{"avatarUrls": {"24x24": "http://xxx/xxx", "48x48": "http://xxx/xxx", "32x32": "http://xxx/xxx", "16x16": "http://xxx/xxx"}, "emailAddress": "bob@bob.com", "timeZone": "America/New_York", "active": true, "self": "http://xxx/xxx", "name": "bob", "displayName": "Bob", "key": "bob"}',
u'labels':'["Maintenance"]',
u'components':'[{"name": "Database", "self": "http://xxx/xxx", "id": "12307"}, {"name": "Veritica", "self": "http://xxx/xxx", "id": "12711"}]',
u'customfield_11900':'{"self": "http://xxx/xxx", "id": "11001", "value": "False"}',
u'watches':'{"self": "http://xxx/xxx", "isWatching": false, "watchCount": 2}',
u'customfield_12353':'null',
u'customfield_11100':u'0.0',
u'customfield_12302':'null',
u'resolutiondate':'null',
u'created': u'2017-11-06T08:51:20.000-0500', u'summary': u'xxx:xxx',
u'customfield_12352':'null',
u'timespent':'null',
u'assignee':'{"avatarUrls": {"24x24": "http://xxx/xxx", "48x48": "http://xxx/xxx", "32x32": "http://xxx/xxx", "16x16": "http://xxx/xxx1"}, "emailAddress": "bob@bob.com", "timeZone": "America/New_York", "active": true, "self": "http://xxx/xxx", "name": "bob", "displayName": "Bob", "key": "bob"}',
u'customfield_10700':'null',
u'workratio':'-1',
u'customfield_12202':'null',
u'customfield_12200':'null',
u'customfield_12328':'null',
u'customfield_12365':'null',
u'votes':'{"hasVoted": false, "self": "http://xxx/xxx", "votes": 0}',
u'customfield_12360':'null',
u'customfield_12361':'null',
u'customfield_12362':'null',
u'customfield_12363':'null',
u'customfield_12320':'null',
u'customfield_12321':'null',
u'customfield_12322':'null',
u'customfield_12323':'null',
u'customfield_12324':'null',
u'customfield_12325':'null',
u'customfield_12326':'null',
u'issuelinks':'[]',
u'customfield_10902':'null',
u'customfield_12306':'null',
u'customfield_11708':'null',
u'customfield_12307':'null',
u'project':'{"avatarUrls": {"24x24": "http://xxx/xxx", "48x48": "http://xxx/xxx", "32x32": "http://xxx/xxx", "16x16": "http://xxx/xxx"}, "projectCategory": {"description": "", "self": "http://xxx/xxx", "id": "10001", "name": "Bob"}, "id": "10005", "self": "http://xxx/xxx", "name": "Bob", "key": "XX"}',
u'customfield_12304':'null',
u'customfield_11211':'null',
u'customfield_12399':'null',
u'customfield_12398':'null',
u'customfield_12305':'null',
u'customfield_11602':'null',
u'customfield_11603':'null',
u'customfield_11213':'null',
u'customfield_11601':'null',
u'customfield_12329':'null',
u'aggregatetimeoriginalestimate':'null',
u'customfield_12397':'null',
u'customfield_12396':'null',
u'customfield_12311':'null',
u'customfield_12310':'null',
u'customfield_12313':'null',
u'customfield_12312':'null',
u'customfield_12315':'null',
u'customfield_11400':'null',
u'customfield_12351':'null',
u'customfield_10000':'null',
u'customfield_10300':'null',
u'updated': u'2018-09-04T14:30:28.000-0400',
u'customfield_12303':'null',
u'timeoriginalestimate':'null',
u'customfield_12301':'null',
u'customfield_12359':'null',
u'customfield_12358':'null',
u'customfield_12206':'null',
u'customfield_12355':'null',
u'customfield_12354':'null',
u'customfield_11210':'null',
u'customfield_12356':'null',
u'customfield_12309':'null',
u'customfield_12350':'null',
u'lastViewed':'null',
u'customfield_11504':'null'
}
↧