Hi,
I am trying to use your groovy script for my listener
Could you help me with this error please ? Thank you in advance,
Camille
Hello @Camille Lecerf
The problem is that you pass Issue object as parameter, but your function need MutableIssue.
You can cast object
syncCustomFieldvalue(((MutableIssue) event.issue), ((MutableIssue) it), change.field as String )
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you have copy my code with mistake :)
value starts with lowercase. fix it and it should work!
syncCustomFieldValue
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.
Hello,
try to write
syncCustomFieldValue(event.issue, it, change.field as String)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you but sorry I think there's an other problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
syncCustomFieldValue(event.issue as MutableIssue, it as MutableIssue, change.field as String)
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.