Add read-only filed on form
Asked by Howon Kim:

Please advise

how to add read-only(text) filed in form?


Answers:
author: Mikael Sandberg
body: Hi [@Howon Kim](/t5/user/viewprofilepage/user-id/5480228),

Welcome to Atlassian Community!

Could you describe what you are trying to solve a bit more? Any request types that you have assigned to a portal group will be visible on the portal an customers can submit them. What type of data are you trying to capture?

comments: author: Howon Kim
body: Hello [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579)

Thank you for answer.

I trying to Show read-only fields in the Customer portal

that when customer request some issue using portal

so they submit with some fixed data(already filled by admin).

Please advise


author: Mikael Sandberg
body: Okay, in that case you may want to take a look at [Forms](https://support.atlassian.com/jira-service-management-cloud/docs/use-forms-in-jira-service-management/), it allows you to add read-only fields/text that is visible to the user.


author: Howon Kim
body: Hello [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579)

I tried but there are no option...

![jira_form.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/319634iFBE64C1C5156C0F4/image-size/large?v=v2&px=999 "jira_form.JPG")


author: Mikael Sandberg - Outreach
body: Use text instead of a field, the option for is in the banner on the left.


author: Joseph Chung Yin
body: [@Howon Kim](/t5/user/viewprofilepage/user-id/5480228) -

Hi Howon:

So, just make sure that your READ ONLY field in FORM is resolved?

Your new ask is related to how to collecting data from the portal. Can you please provide more details on your ask? NOTE - If you are asking how to collect data entered in your FORM usage and those fields are linked to actual issue's fields configured/used in your JSM project, then you can collect the data via Filter Search UI using JQL (The filter search UI I am referring is associated with the project UI and not the portal UI).

So we can assist you further...

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

comments: author: Howon Kim
body: Hello [@Joseph Chung Yin](/t5/user/viewprofilepage/user-id/396739)

Thank you for the answer

No, not yet solved.

and it just simple data collection from issue portal.

for example

when issue portal setup by form

the form has field

Name(text), Email(text), department(text), **address(read-only text = not edit able)**

but the company has address only "A"

so when customer submit through a portal we can get issue ticket address filed default with "A"

Please advise


author: Joseph Chung Yin
body: [@Howon Kim](/t5/user/viewprofilepage/user-id/5480228) -

Here is another option for you -

Not exposing the field in your FORM since it is read-only and pre-filled. Instead, customize your WF for the Create step via post function to populate the field when issue is created, so the issue will be populated and one can view it via the project UI.

The same logic can also be done via automation rule creation on a issue created event, then you can add in your conditions and conduct the EDIT Issue action to populate the field.

Here is another way similar to fulfill your ask (maybe) - Take a look at this KB article from Atlassian - <https://community.atlassian.com/t5/Jira-Service-Management-articles/Show-read-only-fields-in-the-Customer-portal-using-Forms/ba-p/2046664>

Hope this makes sense and help too.

Best, Joseph


author: Howon Kim
body: solved

still need advise when collecting data using portal

so Please advise


Tags: cloud

jira-service-management

jira-service-management-cloud