Comments (26)
To reproduce the issue,
-
Create a ticket in jira with following fields Client: Custom field Fix Version/s: System defined
-
Try exporting with above 2 fields populated
from jira-azuredevops-migrator.
See the FAQ for guidelines on how to map custom fields: https://github.com/solidify/jira-azuredevops-migrator/blob/master/docs/faq.md#3-how-to-map-custom-field
The Fixes Version field has the field ID "fixVersions" under the hood
from jira-azuredevops-migrator.
Field Id "fixVersions" did work for me. Thankyou!
For the other custom field its a drop down field so I have I tried using Map Array for this i.e
{
"source": "customfield_10205",
"target": "Custom.ClientCode",
"mapper": "MapArray"
},
In the exported logs it says "the specific field contains unparsable type Null, using text"
Please find the attached log below
from jira-azuredevops-migrator.
The ClientCode field in your Jira view looks suspiciously like the tag field. Could it maybe do the trick to use the mapper "MapTags"?
The debug message means that the field does not have a value on the first revision. This could be expected or not, depending on when in the changlog you modified the ClientCode field.
from jira-azuredevops-migrator.
Tried with the "MapTags" still no luck in getting this populated
{
"source": "customfield_10205",
"target": "Custom.ClientCode",
"mapper": "MapTags"
},
from jira-azuredevops-migrator.
Along with the ClientCode field I am experiencing issues with 2 other custom fields i.e SN Case# and SN Incident# for these 2 fields the values are getting exported correctly from Jira as you can see in the attached json. But on importing it to ADO it gets populated with random value "98654321" and even though in the config file the field is defined once it gives error saying
" Update to work item 28623 had two or more updates for field with reference name 'Custom.ServiceNow_Incident'. A field cannot be updated more than once in the same update.
[E][10:35:14] Work Item 28623 failed to save."
Attachments:
from jira-azuredevops-migrator.
Try to specify the full FieldReferenceName for all of your fields in the config?
e.g. ServiceNow_Incident becomes Custom.ServiceNow_Incident
Also here I can see that you have many cases of using the Display name of the target fields (ADO) instead of the FieldReferenceName. This might affect your experience with the tool negatively, although I cannot say exactly what the consequences will be:
{
"source": "customfield_16300",
"target": "Impact Score",
"mapper": "MapInteger"
},
{
"source": "customfield_16301",
"target": "Effort Score",
"mapper": "MapInteger"
},
{
"source": "fixVersions",
"target": "Fix Version",
"mapper": "MapString"
},
{
"source": "customfield_16302",
"target": "Priority Rank",
"mapper": "MapInteger"
},
{
"source": "Developer",
"target": "Dev Assignee",
"mapper": "MapUser"
},
{
"source": "Assignee",
"target": "Dev Assignee",
"mapper": "MapUser"
},
You can find some troubleshooting steps related to migrating custom fields here: https://github.com/solidify/jira-azuredevops-migrator/blob/master/docs/faq.md#troubleshooting-my-custom-field-is-not-migrated-correctlynot-migrated-at-all
from jira-azuredevops-migrator.
Thank you so much! I was able to get the ServiceNow_Incident fields populated. It was my mistake—I was looking at the wrong ADO process template. Our user story has this field defined with a different name compared to bugs. However, for the Client Code, I am still unable to figure out what’s going wrong. I would really appreciate it if you could help me with this.
I have tried specifying with the suggested Custom fields it's showing blank ' ' on exporting:
Attachments:
from jira-azuredevops-migrator.
To add to the above
When there is multiple clients it understands that and mapps " ; " where as when there is single client it shows ' '
from jira-azuredevops-migrator.
@advitakhadke24 Have you tried to map both by "name" and "id"? As mentioned here: https://github.com/solidify/jira-azuredevops-migrator/blob/master/docs/faq.md#3-how-to-map-custom-field
from jira-azuredevops-migrator.
@Alexander-Hjelm Yes the first highlighted in the screenshot is mapped with "name" and the other is with "Id"
from jira-azuredevops-migrator.
source-type
cannot have the value "Client", it must either be "name" or "id".
from jira-azuredevops-migrator.
Got it, I have tried with the source-type = Name since the values are like KI, AJ, AH
{
"source": "Client",
"source-type": "Name",
"target": "Custom.ClientCode"
},
And just to be sure I have also tried with ID as well, still no luck!
{
"source": "Client",
"source-type": "id",
"target": "Custom.ClientCode"
},
from jira-azuredevops-migrator.
If using:
"source-type": "id",
Then the source
should be the custom field key. Something like customfield_12345
. You may need to use the REST API to retrieve this data.
from jira-azuredevops-migrator.
Can you please explain on how to achieve this? If you have any document which I can follow to identity this?
Thanks!
from jira-azuredevops-migrator.
The only document we have with known solutions is here: https://github.com/solidify/jira-azuredevops-migrator/blob/master/docs/faq.md#3-how-to-map-custom-field
from jira-azuredevops-migrator.
I did some research and it looks like there are 2 ways to find they custom field in ADO through ADO web portal or via API. I have already looked through web portal by going to Process -> work item type(User Story , Bugs)->Select the Custom Field
looks like custom field key in Jira is displayed as "Field reference name" in ADO
from jira-azuredevops-migrator.
Hum... What type is the field Custom.ClientCode in Azure DevOps? Is it a picklist? If so, maybe the value you are trying to import is not among the selectable values?
The value will effectively be a string containing the elements separated by commas.
from jira-azuredevops-migrator.
Yes the "Custom.ClientCode" in Azure DevOps is a picklist and it is present in the picklist group.
Also, field has option to typein if not available in picklist
Another thing to note, there is another field which is also a picklist "labels" this works fine with the Maptags
from jira-azuredevops-migrator.
@advitakhadke24 For experimentation purposes, what you happen if you were to create a new Test field in your target Work Item Type process model and map the ClientCode field to that? Does the full value come over then? Or does it not change the value at all?
from jira-azuredevops-migrator.
I tried adding a new test client code field - with a single line text field
Tried with Mapstring & tag
{
"source": "customfield_10205",
"target": "Custom.TestClientCode",
"mapper": "MapString"
},
{
"source": "customfield_10205",
"target": "Custom.TestClientCode",
"mapper": "MapTags"
},
It just gives blank on exporting itself
[D][13:42:10] Mapped value ' ' to field 'Custom.TestClientCode'.
from jira-azuredevops-migrator.
Try MapArray?
https://github.com/solidify/jira-azuredevops-migrator/blob/master/docs/config.md#mappers
from jira-azuredevops-migrator.
I have already tried that, if you see the comment here #1004 (comment)
I gave another shot this morning with test as well as the orignal Client field but still it's the same ' '
{
"source": "customfield_10205",
"target": "Custom.TestClientCode",
"mapper": "MapArray"
},
from jira-azuredevops-migrator.
@Alexander-Hjelm anything else I could try? We want this field migrated and thinking off getting Pro migrator tool...In case we do purchase ..will that be helpful to get this field populated?
from jira-azuredevops-migrator.
This issue is stale because it has been open for 25 days with no activity.
from jira-azuredevops-migrator.
This issue was closed because it has been inactive for 5 days since being marked as stale.
from jira-azuredevops-migrator.
Related Issues (20)
- Mapping Jira Custom Fields to Azure DevOps History HOT 11
- Import all the fields of Test case instead of few fields. HOT 1
- Is there a version of application which is supporting Jira with extension structure HOT 15
- Development / Releases are supported? HOT 6
- show round time in effort field HOT 12
- Jira Users are not getting migrated HOT 1
- Description Field Blank in ADO User Story HOT 3
- Flat Migration HOT 3
- Add support for development links to non-migrated GitHub repositories
- Support for Continuing an Import at a Specific Revision HOT 4
- Best way to migrate large amount of issues HOT 14
- how can I use the tool if I have issue types Test and Test Plan and I don't have Task or sub task or any issue types else on jira ? HOT 3
- Linked issue is lost during the import/export process HOT 1
- Workitem Linking not working as expected HOT 3
- Sprint information is not exporting HOT 10
- Attachments are not exporting HOT 15
- Wrong Sprint Information Exporting HOT 5
- Cross-project Parent links not established when migrating with download option 0 HOT 6
- MapArray errors to map null/None value HOT 3
- jira export is failing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jira-azuredevops-migrator.