Can't get "Set Field Value to constant or Groovy expression" to work

We have installed a paid version of JMWE - 3.1.0 - running against JIRA 5.2.11

I can get "Copy Value From Field to Field" to work, but not "Set Field Value to constant or Groovy expression". I am trying to set Original Estimate and have tried entering a number 36000, "4d" and '4d' as hardcoded values to start with (after a Groovy script did nothing)

We are using a hosted service, is it possible the Groovy is missing on the server, resulting in this problem?

Thank you for any help you can give.

2 answers

1 accepted

This widget could not be displayed.

Resolved it - part of it was the type, part was the need to use 'issueObject' in place of 'issue' as the latter is a wrapper.

This widget could not be displayed.

Did you have a look at the atlassian-jira.log? You might find ERRORs related to the function.

The Original Estimate field is expecting a Long value, so you cannot pass it as a constant. You need to use a Groovy expression, such as "new Long(1000)".

Thank You - that was a large part of the problem!

Make It A Great Day And A Better Tomorrow!

//Sten

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

534 views 3 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you