Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

workflow import creates duplicate fields Edited

We were exporting a workflow, wfs - not xml, from one Jira Server instance (A) to another instance (B).  The workflow had originally been exported from A and imported to B months ago and I was asked to re-export from A and re-import to B a heavily modified version of the newer workflow version.

I noticed about 10% of the fields were already present in B and instead of the import using those fields, Jira wanted to create and use new fields with the same name but different ID number.

Is there any documentation about this? Does anyone have any idea why a field would be duplicated?

Rather than just manually map to the field(s) that are already in B I thought I'd ask because I'm trying to understand what is going on.

 

2 answers

2 accepted

1 vote
Answer accepted

Hi James,

Currently, post workflow import manual clean up is required to remove any duplicated fields.

We have the following Feature Request in place to track interest in adding in an option to clear this up, please make sure to add a vote and drop a comment with any feedback on what you would like to see or how this feature is impacting you:

Regards,
Earl

1 vote
Answer accepted

Hello James,

Thank you for reaching out.

Indeed, the duplicating of custom fields when import workflows is a known behavior in JIRA. Since this is not something that most of the customers would expect when importing workflows, we have created a feature request to change this behavior:

Workflow import creates duplicate custom fields 

Feel free to vote and watch the suggestion to increase its priority and also receive notifications about any updates.

For now, the workaround for this issue would be to:

1 - Export the workflow as an XML file

2 - Edit your XML file with the correct already existing fields

3 - Import your workflow XML, by following this documentation

Let me know if this information helps or you still have any questions about this.

Hi Petter,

Thank you for looking into this - I am having the same issue.

In relation to the XML work around is the concept that it will not duplicate fields with the same Field ID number? For example if I want to import from instance A to instance B and the custom field ID for both is the same is won't duplicate - it will just associate accordingly? Or are you saying remove the custom field section entirely and re-associate with the workflow once imported? In which care one may as well make a duplicate a shell of the workflow with no custom fields/screens linked and import that and re-associate then rather than having to edit the XML? 

You advise is appreciated.

Thank you :)

P.S I have voted for the issue you & Earl linked.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,642 views 22 33
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you