Forums

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

How to convert custom field of type Label to a String or Text

Zaldy Parian
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.
July 18, 2018

When exporting issue data to Excel, custom field of type Label creates multiple columns. I wanted to convert the Label type field to a Text or String type so the values will be in just one column.

What is the best way to do this?

1 answer

0 votes
Randy
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.
July 18, 2018

Not possible with the export function.

It'll be easier to just to either add a column that aggregates in excel or write a script to collapse the columns to csv from the export.

Zaldy Parian
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.
July 18, 2018

Hi Randy,

Thanks for your reply.

I guess my first objective is to convert the field from Label to Text type.

Concatenating the values in Excel after export is easy. But I want to solve the issue from the source.

I'm thinking of creating a new custom field (of type Text) and copy-paste the values from the old Label type field. After that, decommission the old Label type field. But this will take ages.

I'm hoping for a better way to do this.

Randy
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.
July 18, 2018

That's a clever solution.  If you have scripting abilities on your instance with something like ScriptRunner it should be fairly trivial to do.

 

Otherwise you could also go the JIRA Connect route and populate the custom field via the REST API.  This would require a bit more technical ability though.

Suggest an answer

Log in or Sign up to answer