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

How to create/add scripted type fields in Jira?

Sri Sep 15, 2015

2 answers

1 accepted

1 vote
Answer accepted
Sri Sep 15, 2015

Hi Czaia,

              Thanks for reply, I have created scripted field successfully and i have added the Inline also.

But i have one Issue please can you help me.

Can you see below image.

image2015-9-16 14:1:33.png


I have enter above fields values and updated then i can't see reported name.  but i can see Anonymous name please can you see for more details below.


image2015-9-16 14:0:41.png

 where Iam missing just guide me and what is the Inline script for we can get the correct reporter name.



I get the same behavior (not when using the text searcher though). But why would you want to do that anyways? Why don't you just use a post function to update the custom field?

0 votes
Sri Sep 17, 2015

Hi Christian Czaia,

  Good news, I have solved the Anonymous Issue. We should use the below code(Inline script),  If you use the User Picker (single user) or User Picker (multiple users) templates you need to return an ApplicationUser, or List of ApplicationUser in the multiuser case.

For Example:


import com.atlassian.jira.user.ApplicationUsers



For more details see below.

image2015-9-18 12:49:28.png

       I have one Question Is it possible to update the scripted fields using Java Rest API?, if you know can you Help me out or provide me related Likes.


Nic Brough [Adaptavist] Community Leader Sep 24, 2015

You can not update scripted fields, they are calculated.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

1,820 views 3 15
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