Forums

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

Create a custom read-only field, which is a copy of other custom field

Alex Shevchenko
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 9, 2018

I would like to create a summary tab in the issue properties, which would contain some of the fields from other tabs (detailed drop-down of the issue properties).

I do know that currently you're unable to add the same field multiple times to a screen (https://community.atlassian.com/t5/Questions/Same-custom-field-in-multiple-tabs/qaq-p/237685)

I also do know that one can use read-only fields and populate them during transitions (https://community.atlassian.com/t5/Questions/I-want-to-create-a-read-only-field/qaq-p/320154)

I'm trying to find a simple workaround here without complications of a workflow (very simple, without detailed staging). It looks very reasonable to have something like 'Copy of a data' field type, which would display the (read-only) info from a different field. However I'm struggling to find it.

I would appreciate any help.

1 answer

0 votes
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 10, 2018

There are add-ons that can provide "scripted fields", which are almost always used for calculated data.  But it is perfectly possible to simply echo the content of another field.

If you were to use ScriptRunner for example (chosen because I work for Adaptavist and hence use it all the time), a script could be as simple as:

return issue.getSummary()

(You'll need to work a little harder for custom fields, and maybe do stuff with formatting if you want to repeat fields that have multiple values)

Suggest an answer

Log in or Sign up to answer