Issue with copy text
Hi Fidel,
I have this Close postfunction:
However, I have noticed that for some issues field ETAPA is cleared when closing. This shows an issue history tab:
Etapa is a Select customfield.
When the closing work as expected, there is no such entry in the history tab.
Thanks for your help.
Comments (6)
-
repo owner -
reporter Hi Fidel, No listener. I spot this problem today, found several issues with the problem, so now I am going to monitor all closes for that issuetype. Is there any condition that could make "copy to field" clear a field value?
-
reporter Hi Fidel, I made some tests and I found that if the text to be copied doesn't match an option from the select list, the customfield is cleared. At plain sight I don't see any difference, but since the text have a dot in it, is there any chance the postfunction will fail because of that?
-
repo owner I have reviewed the code, and made some tests using options with dots and spaces, and all works correctly. At this moment, I don't find cause for this failure.
May be there are some clues in the log file.
-
reporter I have recreated the option and the postfunction and will watch if this show up again. Meanwhile I am resolving this request. Thanks for your support.
-
reporter - changed status to resolved
- Log in to comment
Hi Adolfo,
It's very strange. I can't imagine a reason for that behavior.
Isn't it possible that you have a listener that might be causing this problem?
How frequently occurs this problem, approximately? 1 out of n? times...