Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issue Picker fails to render on screens

Hi all

Ive been having a problem adding either the single issue picker or multi issue picker to a screen. I followed the example from https://scriptrunner.adaptavist.com/latest/jira/script-fields/issue-picker.html but i keep getting the error  below when I load the screen that the custom field is on

Error rendering 'single-issue-picker-cf'. Please contact your Jira administrators.

I used the mark feature on the logs and the only entry I see is:

java.lang.Exception: Missing parameters for fields

if I try and edit the default values for the custom field I get the stack trace below. Any ideas what I maybe doing wrong?

 

Many thanks 

 

Referer URL: http://xxxxx/jiradc/secure/admin/EditCustomFieldDefaults!default.jspa?atl_token=B13G-HGR6-7GBV-3TCK_7ce1b73d0141bdca131a6b4b7526e4cb71c79eb7_lin&fieldConfigSchemeId=25900&fieldConfigId=43400&customFieldId=21600&returnUrl=ConfigureCustomField%21default.jspa%3FcustomFieldId%3D21600

java.lang.Exception: Missing parameters for fields
java.lang.Exception: Missing parameters for fields
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [?:1.8.0_222]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [?:1.8.0_222]
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.8.0_222]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [?:1.8.0_222]
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83) [?:?]
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105) [?:?]
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250) [?:?]
	at com.onresolve.scriptrunner.canned.jira.fields.editable.EditableScriptFieldTrait$Trait$Helper.getConfigurationForFieldId(EditableScriptFieldTrait.groovy:42) [?:?]
	at com.onresolve.scriptrunner.canned.jira.fields.editable.EditableScriptFieldTrait$Trait$Helper$getConfigurationForFieldId$1.call(Unknown Source) [?:?]
	at com.onresolve.scriptrunner.canned.jira.fields.editable.issue.SingleIssuePickerField.getConfigurationForFieldId(SingleIssuePickerField.groovy) [?:?]
	at com.onresolve.scriptrunner.canned.jira.fields.editable.EditableScriptFieldTrait$getConfigurationForFieldId$0.call(Unknown Source) [?:?]
	at com.onresolve.scriptrunner.canned.jira.fields.editable.EditableScriptFieldTrait$Trait$Helper.getConfigurationForField(EditableScriptFieldTrait.groovy:31) [?:?]
	at com.onresolve.scriptrunner.canned.jira.fields.editable.EditableScriptFieldTrait$Trait$Helper$getConfigurationForField$0.call(Unknown Source) [?:?]
	at com.onresolve.scriptrunner.canned.jira.fields.editable.issue.SingleIssuePickerField.getConfigurationForField(SingleIssuePickerField.groovy) [?:?]
	at com.onresolve.scriptrunner.canned.jira.fields.editable.EditableScriptFieldTrait$getConfigurationForField.call(Unknown Source) [?:?]
	at com.onresolve.scriptrunner.canned.jira.fields.editable.issue.IssuePickerTrait$Trait$Helper.validateFromParams(IssuePickerTrait.groovy:48) [?:?]
	at com.onresolve.scriptrunner.canned.jira.fields.editable.issue.IssuePickerTrait$Trait$Helper$validateFromParams$3.call(Unknown Source) [?:?]
	at com.onresolve.scriptrunner.canned.jira.fields.editable.issue.SingleIssuePickerField.validateFromParams(SingleIssuePickerField.groovy) [?:?]
	at com.atlassian.jira.issue.fields.ImmutableCustomField.validateFromActionParams(ImmutableCustomField.java:338) [classes/:?]
	at com.atlassian..run(Thread.java:748) [?:1.8.0_222]

2 answers

Hi @Mo Ko 

I had the same issue with scriptrunner version 5.5.9. I switched back to 5.5.7, saying just try another version!

Regards,

Jan

Hi @Jan Szczepanski & @Mo Ko any fix for this issue? 

We are having a similar issue "Error rendering 'single-issue-picker-cf'. Please contact your Jira administrators." we tried downgrade version no help and we don't have any single issue picker field in Jira instance. 

Hi @Prathyush Thummepalli nope not really I guess. Just contact adaptavist Directly via https://productsupport.adaptavist.com/servicedesk/customer/portal/2

 

I had this issue while upgrading an older version of scriptrunner to the latest. And I faced the same issue when deploying scripted fields via Configuration Manager. In this case I deleted and then re-created the customfield.

But I guess your case is something for the customer support of Adaptavist.

Hello @Mo Ko ,

 

Have you tried to fill-in the "list of values" for the concerned Custom Field? Maybe this "Error" comes from the fact, that the "Multiple Choice" custom field has no value(s)?

 

With best regards,

Dmitrij

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

130 views 0 2
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you