Hi all,
I'm trying to do that with a behavior script:
reporter.setFormValue(user.getName());
This is a simple script and will put only the username in the reporter input field for the form.
Imagine that user change every time the field assignee change, because the groovy is attached to the change of Assignee field.
First time it works correctly, loading the avatar and the fullname. The problem is that, when you change for the second time the value on the field that has a groovy script linked, later JIRA doesn't trigger the action that will put the avatar image and the fullname in the input field (I found it doesn't call setFormValue due to an error in javascript. Please take a look below) .
image2015-5-28 17:6:30.png
I found, after some investigation in frebug that error (I suppose related to behaviour plugin because script is not triggered at all due to this error):
image2015-5-29 10:18:0.png
Is there any way in order to fix that on behaviour plugin?
Thanks
Luca
d[c] is undefined occurs when the custom field who has a behaviour script linked is set to "Required"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you copy to a bug report at https://jamieechlin.atlassian.net/browse/GRV please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.