Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Add new item is not displayed in Script fields(addons)

Sarabjeetk
June 6, 2019

I am new to JIRA, I am trying to create a scripted custom fields, following this link.

https://scriptrunner.adaptavist.com/latest/jira/recipes/misc/table-custom-field.html--Section2.1

I have created in custom fields- with advanced option-scripted custom fields. I am trying to set up scripted fields, i went to JIRA-addons-scriptfield and than typed gg and selected an option script fields from that, but i dont see add new item option the screen its empty.

How can i view add new item-create a new Script field

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Kristian Walker _Adaptavist_
Community Champion
November 13, 2020

Hi Michah,

I can confirm that currently that it is not possible to search in JQL for the values of Scripted Fields provided by ScriptRunner for Jira Cloud as this currently not a feature that we provide.

We can, however, confirm that we do have this on our roadmap as a feature request here and I would ask you to vote on this if this something that you are interested in so that our development team can see this and consider this as a feature to be added in future.

Also, I can confirm that Scripted Fields are calculated when an issue is loaded in Jira cloud and are a special field type rather than a standard custom field type like in Jira server. 

The reason for this is due to the API's that Atlassian provided being different between Jira Server and Jira Cloud.

This means that Scripted Fields are only designed to be viewed on issues and cannot be used inside of other scripts.

If you need to use these values inside of other scripts then you will need to use a Script Listener to calculate the value into a standard custom field on an Issue Updated event similar to the example we have here as this will then allow the value to be saved inside a standard custom field that can be used in other scripts.

Regards,

Kristian

TAGS
AUG Leaders

Atlassian Community Events