Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Split fails with undefined fields collection #27

Open
ionutvasiliu opened this issue Aug 5, 2019 · 2 comments
Open

Split fails with undefined fields collection #27

ionutvasiliu opened this issue Aug 5, 2019 · 2 comments

Comments

@ionutvasiliu
Copy link

image

@beccamc
Copy link
Contributor

beccamc commented Aug 7, 2019

Is this a consistent issue? Is there something different about this work item type? As you pointed out, the work item fields are undefined. Either something went wrong fetching the fields (time out or other intermittent problem), or there is something different about the config of this work item and we missed testing that scenario. Thanks!

@polston
Copy link

polston commented Aug 14, 2019

Cloning and building the extension with this change seems like it fixed this issue, in our case.

workItemTypeInfo.fields.forEach(f => {

 workItemTypeInfo.fieldInstances.forEach(f => { 

It seems like the interface for WorkItemType has two properties that are both WorkItemTypeFieldInstance[], fields and fieldInstances. I'm guessing maybe fields was deprecated or something?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants