Hi,
I have created couple of Scripted customfields and added searcher template as Number.
Scripted field values are displaying on issue view screen but not displaying on issue navigator field columns and gadgets.
I have reindexed entire jira but no values displaying.
Thanks,
Prasad
I was using following line to get Issue object, instead of getting Mutable issue object I used issue object then it worked as expected.
MutableIssue issue = issue
,
What exactly are you returning in the scripted field? If it's the wrong type of object, then in some cases it will display in issues but can't be indexed and hence won't appear in the navigator etc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am returning as Double!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm, that's correct then.
Does the field work when you use the "preview" in the scripting screen?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, It is showing the expected value but still it is not showing on issue navigator column view :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, so when you say "not displaying on issue navigator", can you detail that?
Can you add the field to the navigator (i.e. it appears on the list of possible columns), but nothing appears in the column? (Test with an issue you used in the "preview" test that worked)
Or is it that the field does not appear as a possible column?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am able to see the script field on the list of possible columns and able to select it but there is no value displaying.
yes, I have tested with the issue which i used to preview.
it is showing as follows
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.