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

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

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
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

753 views 17 21
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