Forums

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

What to do to add "scripted field" datatype in JIRA

Iram Masood August 18, 2020

I cannot see the datatype scripted filed in jira while creating the custom filed for my script runner.

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 18, 2020

Scriptrunner for Jira Cloud does not have scripted field types (it can't - Cloud does not let it).  You have to use one of the standard custom field types and then write listener or post-function scripts that update those custom fields.

1 vote
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 18, 2020

Ah, I owe my friend @Kristian Walker _Adaptavist_  another beer for this one.

Scripted fields can now be supported by Cloud, but it does it differently to Server, and they're accessed via Admin -> Scriptrunner -> Scripted Fields, not by adding a field in the main list.

It is a relatively new function, but https://scriptrunner-docs.connect.adaptavist.com/jiracloud/scripted-fields.html is the doc to run through

Míkel Rodríguez Domínguez
Contributor
January 28, 2022

By the way, I've tried to put one of these scripted fields on the sidebar but if I want to see it I always have to click "Open Scripted Fields" before that. It's a bit clumsy, I mean, isn't there a way to see the scripted fields on the issue sidebar straight away without having to click a button? The only alternative that comes to my mind would be putting the field in the issue content section.

Like # people like this
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 28, 2022

I'm afraid not - that's down to the way Jira Cloud works, not SR.  

I know we're getting places with getting Atlassian Cloud to enable SR to be more clever, but I don't know where we are with UI changes like that.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events