How to update the text Field (read only) custom field in Jira

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary


Jira has a Text Field (read only) in the custom field. This KB explains ways how you can modify and update this custom field. 

Environment

Jira 7 and 8


Solution

You can either update the Text field (read only) via REST API or import from Mantis. Maximum 255 characters. 

For Jira version before 8.4, you can use import from Mantis.

Starting from Jira 8.4, Jira no longer supports built-in importers that are dedicated to specific applications, including Mantis. You can still import data to Jira in CSV or JSON format.


REST API

You can use the REST API like the following to update this field. In this example, the REST API will update custom field 10201 which is the read-only text field in issue TEST-1 to "hello world". 

curl -w '%{http_code}' -u admin:admin_password  -H "Content-Type: application/json" -X PUT http://JIRA_URL/rest/api/2/issue/TEST-1  --data '{ "fields": {"customfield_10201": "hello world"} }'



Last modified on Aug 3, 2020

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.