how to increase jira-cloud issue-field characters limit

Tharanga Thennakoon September 26, 2017

Hi we are developing a jira-cloud plugging using atlassian-connect framework. In here we are creating custom-field ( issue-field ). The data type of that field is string. Problem is we can't create new jira-issue through the jira-rest api, because we got an error message which says "The entered text is too long. It exceeds the allowed limit of 255 characters." Could you please tell is there any way to increase issue-field characters limit on jira-cloud or set it to unlimit.

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 26, 2017

Use the field type "text" instead - String is the short text custom field, text is the unlimited one.

Tharanga Thennakoon September 26, 2017

We have to use string because we need to render the content of that custom-field as html. text data type does not support for that.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 26, 2017

I don't understand that.  A string field holds a string.  A text field holds a load of text (i.e. a longer string).  Code to render a short text field as a block of html will work fine for longer chunks of text.

But, the answer remains the same.  The only way to go over the 255 limit is to use the text area.

Tharanga Thennakoon September 26, 2017

Our main requirement is string content must be render as html. as a example assume field value is <a>App</a>. This value should be render as a html link in the jira issue. This is works fine but problem is we can't put long string content for this field

Joe Pitt
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 26, 2017

As @Nic Brough -Adaptavist- said the only way is to use a text field. If you were on your own server you could modify (not recommended) the source code. 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 26, 2017

Text and string fields render as html in Jira and give you plain text to work with in your application.

Use a text area field.  I don't understand what your problem with html is, you need to explain why it's a problem and why your application code can't handle it.

Suggest an answer

Log in or Sign up to answer