Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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

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

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
TAGS
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

3,881 views 11 5
Join discussion

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