Error when using example post function with JIRA 4.2

Description

*This issue has moved*

This issue has been moved permanently to Adaptavist's Product Support JIRA instance.

All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the
Can't access your account link in order to reset to a new password.

I'm having trouble getting the following example script from this plugin's website to run properly on my JIRA 4.2 installation with Jira Suite Utilities (jira-suite-utilities-0.7.14.jar) installed:

Here's the kind of error I get when I try and use this. I switched the pattern and the targetFieldName values a bit but you should get the idea:

Any idea what went wrong? Is this a problem you can duplicate with 4.2?

Thanks!

Environment

JIRA 4.2

Activity

Show:
Jamie Echlin
December 7, 2010, 12:31 PM

No problem, thanks for letting me know. I've added it to the confluence page.
cheers, jamie

Emily Stumpf [Red Radish]
December 7, 2010, 9:33 AM

Thank you so much Jamie! That did the trick for me.

User known
December 7, 2010, 8:46 AM
Edited

I think this will be a problem caused by Jira Suite Utils being a plugins 2 plugin... Here is an example that doesn't require it. I can't update confluence atm...

If the source or target fields are system fields as opposed to custom fields the code will need to be changed a little. I think that's why I used JSU in the first place, it allows one method regardless of whether it's a custom field or not.

Let me know how you get on...

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Jamie Echlin

Reporter

Emily Stumpf [Red Radish]

Internal Complexity

Unknown

Internal Value

Unknown