GetIssueCustomFields
Hi
I'm using the GetIssueCustomFields WS in one of my plugins and sometimes the ExistingData of the objects I get is empty.
I can only reproduce it by repeating the call to the function. But the number of repetitions I have to do is random. I don't have a logged exception in gemini, it just don't fill the field.
Perhaps you have an idea ?
I'm using the simple ws not wse.
Regards,
Alain
epsilon
· 1 |
|
Wednesday, February 1, 2006, 10:27:49 AM |
0
|
Hi Alain, Does this occur to a specific custom field only? What type is that custom field? When you first call the function does it return the expected result? |
||||
|
0
|
It seems to occur only when the custom field refers to lookup data. I'm going to test it with a simple text field custom field. |
||||
|
0
|
I tested it and it happens with all kind of custom fields. |
||||
|
0
|
Alain, I've tested this and can not reproduce the problem. The only other thing that can happen is that you have created the custom field after the issues were created. Then the issues that were not updated after the creation of the custom field will not have any data. Is that the case with you? |
||||
|
0
|
I'm using the GetIssueCustomFields function in the IssueCreated event handler code. |
||||
|
0
|
I see, yes the IssueCreated event fires before the custom field is updated. At the moment there is no way to trap for custom field events. |
||||
|
0
|
Sorry but you didn't answer my question... |
||||
|
0
|
The event fires after the issue is created BUT before any associated data, such as custom fields, is created. |
||||
|
0
|
Ok that must be the problem. |
||||
|