Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,950
Community Members
 
Community Events
168
Community Groups

Scripted customfield value is not displaying on issuenavigator field columns and gadgets

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

2 answers

1 accepted

0 votes
Answer accepted

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

0 votes

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.

I am returning as Double!

Hmm, that's correct then.

Does the field work when you use the "preview" in the scripting screen?

Yes, It is showing the expected value but still it is not showing on issue navigator column view :(

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?

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

image.png

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events