create non-editable custom field. And also, keep it's value pre-assigned.

I have added following custom field as lable - field type. And also aaded it's default value.

1) Client ID: default value "COMP"
2) Communication ID: 9898 as default value.

Can you please tell me , how can i make these two fields as non editable ?

Thank You.

2 answers

This widget could not be displayed.

You can't, that's not what fields are for really.

Two workarounds spring to mind:

1. Put the field on the "create" screen only. The users will be able to override your default, but won't be able to change it later.

2. Add a read-only text field and populate that with a post-function

I tried second option.

actually, added read-only text fields are not appearing over the screen.

I have also added post condition under "Create issue" transition.

what could be missing ?

And ya, i have published workflow too..

Hi Nic,

I able to see both the read-only text fields over issue screen (after issue gets created).

But those not appearing over create issue screen while creating an issue.

any idea ?

Make sure the read-only field(s) are on the issue view screens (no harm in adding them to create and edit as well)

Yes, it is appar over issue view screen after issue get created. But it does not appear over issue creating screen even though it is "Required" field in field configuration.
why it gets hidden over issue create screen ? any solutin which allows these fields to appear over issue create screen.

I have already set this screen for Create/Edit/view all operations.

NOTE: by followig your above solution, i able to set the default value on - Post condition of create issue transition and fields can appear over issue view screen but problem is, it is not appearing over issue create screen.

They won't appear on create because the issue has no data, so they have no data to display.

You actually need a totally different type of field if you want things to appear on the create screen - some form of "message" field. There's one in the "Jira Toolkit" add-on which will do the job.

ok.

I tried for adding - "Message Custom Field (for view)" custom field type.

But, when come to next step of addition of custom field and "finish" then it shows me below error and unable to add this custom field.

"Invalid searcher chosen"

Also, there is no searcher appear to select on field creating screen.

Please correct me if it is wrong type ?

Hi Dhaval,
This is the correct field for you to use, however we are currently experiencing a bug when configuring this specific custom field. The bug report can be found here

This widget could not be displayed.

Has anyone figured out how to do this? I tried using "Message Custom Field (for view)" custom field type, but it only shows up on the view screen. I need to put up a message on the create screen.

The "create" screen is effectively an edit screen - try "Message Custom Field (for edit)" instead.

Thanks Nic. That worked!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

79 views 1 0
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