Merging Custom Fields / Text fields?

chefkoch June 4, 2013

Within our Mantis setup we have the fields:

  • Description,
  • Steps to Reproduce and
  • Additional Information

Is is somehow possible to merge all of these into "Description" while import or afterwards?

It would be great if we could add headers in between like:

%description%

# Steps to Reproduce #
%steps to reprodude%

# Additional Information #
%additional information%

2 answers

1 accepted

1 vote
Answer accepted
Wojciech Seliga
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 5, 2013

It's not possible without modifying the source code of JIRA Importers Plugin. However it should be relatively easy. Every JIRA commercial license holder has the access to the source code of JIRA Importers Plugin.

You would have to modify com.atlassian.jira.plugins.importer.imports.mantis.transformer.IssueTransformerVer118OrOlder class and concatenate the info (fields) you want and set description (setDescription()) of ExternalIssue class.

chefkoch June 10, 2013

For our production system we "only" had a open source license. So we bought the starter license now to get access to the source code and will use a customized importers-plugin. Thanks for the tip.

2 votes
Ruchi Tandon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2013

I would suggest to import the fields anyways into JIRA as custom fields, and then you can choose one of the following options to copy the field value from custom field to the system fields :

Ben
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.
March 2, 2016

Hi - are running any of these scripts possible in JIRA Cloud?    See my related question https://answers.atlassian.com/questions/37522200

Suggest an answer

Log in or Sign up to answer