how to display a script field in the create and edit screen

Hi...I have been reading that this is a limitation in scriptrunner that script fields are not displayed neither in edit nor create screens but I have also read that there are some workarounds but I have not found them. And I understand the reason why script fields dont show in those screens but there are situations where they should be displayed. For instance, I have a script field to show the Epic ID if a Story is associated to a Epic. The scripts works in the view screen of the Story and Issue Navigavor (the epic ID is being properly displayed). However, I would also like that when the user is creating the Story and select an Epic Link to link to it, that the Epic ID of the selected epic be displayed. Similarly, I would like that when the Story is being edited, if the user changes the Epic Link, the Epic ID of the new epic link selected be displayed. Is there a way to accomplish that? I am on the latest version of JIRA 7.3.4, and the latest version of scriptrunner 5.0.1

Thank you in advance!

1 answer

This widget could not be displayed.

Scripted fields only have a "view" template, because users can't put data in them.  This tells JIRA that there is nothing to show on screens which need input.

There is no way to get them to appear on screens that allow for updates.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 7 hours ago in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

25 views 1 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you