Issue with copy text

Issue #350 resolved
Adolfo Casari created an issue

Hi Fidel,

I have this Close postfunction:

JWT1.png

However, I have noticed that for some issues field ETAPA is cleared when closing. This shows an issue history tab:

JWT2.png

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)

  1. Fidel Castro Armario repo owner

    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...

  2. Adolfo Casari 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?

  3. Adolfo Casari 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?

  4. Fidel Castro Armario 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.

  5. Adolfo Casari 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.

  6. Log in to comment