Bonjour j'ai le résultat (depuis un dumper($toto)) d'un appel de méthode suivant (hash je suppose) et je souhaiterais savoir comment accéder par exemple à la valeur de 'assignee' ?

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
$VAR1 = [
          bless( {
                   'priority' => '3',
                   'customFieldValues' => [
                                          bless( {
                                                   'customfieldId' => 'customfield_10290',
                                                   'values' => [
                                                               'xxxx'
                                                             ],
                                                   'key' => undef
                                                 }, 'RemoteCustomFieldValue' ),
                                          bless( {
                                                   'customfieldId' => 'customfield_10295',
                                                   'values' => [
                                                               'Small'
                                                             ],
                                                   'key' => undef
                                                 }, 'RemoteCustomFieldValue' ),
                                          bless( {
                                                   'customfieldId' => 'customfield_10294',
                                                   'values' => [
                                                               'Small'
                                                             ],
                                                   'key' => undef
                                                 }, 'RemoteCustomFieldValue' ),
                                          bless( {
                                                   'customfieldId' => 'customfield_10180',
                                                   'values' => [
                                                               'yyyyyyyyyyyy'
                                                             ],
                                                   'key' => undef
                                                 }, 'RemoteCustomFieldValue' ),
                                          bless( {
                                                   'customfieldId' => 'customfield_10293',
                                                   'values' => [
                                                               'zzzzzzzzzzzzzzzzzz'
                                                             ],
                                                   'key' => undef
                                                 }, 'RemoteCustomFieldValue' ),
                                          bless( {
                                                   'customfieldId' => 'customfield_10291',
                                                   'values' => [
                                                               'zzzzzz'
                                                             ],
                                                   'key' => undef
                                                 }, 'RemoteCustomFieldValue' )
                                        ],
                   'status' => '1',
                   'project' => 'OO',
                   'components' => [
                                   bless( {
                                            'name' => 'ttttt',
                                            'id' => '11111'
                                          }, 'RemoteComponent' )
                                 ],
                   'attachmentNames' => [],
                   'reporter' => 'toto',
                   'key' => 'OO-1',
                   'assignee' => 'titi',
                   'summary' => 'summary 1',
                   'updated' => '2012-06-21T08:34:40.000Z',
                   'id' => '11111',
                   'votes' => '0',
                   'fixVersions' => [
                                    bless( {
                                             'releaseDate' => '2012-06-29T22:00:00.000Z',
                                             'sequence' => '7',
                                             'name' => '2012 Q2',
                                             'released' => 0,
                                             'id' => '22222',
                                             'archived' => 0
                                           }, 'RemoteVersion' )
                                  ],
                   'affectsVersions' => [],
                   'description' => 'titi toto tutu',
                   'environment' => undef,
                   'created' => '2011-12-13T13:29:28.000Z',
                   'resolution' => undef,
                   'type' => '33',
                   'duedate' => '2012-06-29T22:00:00.000Z'
                 }, 'RemoteIssue' )
        ];
$VAR2 = '
';
Toute aide sera la bienvenue