Forums

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

Can we make a field readonly in UI but still update using APIs

Manoj Channa February 15, 2023

We have a requirement, where we display few fields - like dropdown, labels etc which we want to be read only on the UI screens. These fields still need to be updated using some logic with the APIs so users can see the data. Is that possible?

1 answer

1 vote
Vamsi Kandala
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.
February 15, 2023

Hi @Manoj Channa

If I understand correctly, you want to restrict the users from editing the fields of the ticket once it is created but you still want some way to update the data in the ticket.

In that case, you can create a group and restrict all other users from editing the ticket except for the members of this group.

Then, as part of the member of the group, you can use the REST API calls to update the ticket details.

Hope this helps.

Thanks,
Vamsi

Manoj Channa February 17, 2023

Thank you Vamsi.

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.
February 17, 2023

This only works if you want to make the issue completely uneditable by all the users.

You can leave stuff like comment, log work, and transition working for them, but they will not be able to amend any data on the issue.

Deleted user June 4, 2024

Any further updates on this? We have a similar use case, where we're syncing tickets from another ticketing system over to Jira just for tracking purposes and we'd like specific fields on the issue created in Jira to be read-only.

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.
June 4, 2024

There is no change, nothing is broken here.

Suggest an answer

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

Atlassian Community Events