Closed johnnguyenfamily closed 4 years ago
Hey John,
thanks for reporting this. Could you check the full log of the task and see if it has additional errors? There actually IS an issue in the task that should only occur if the creation of the work item failed; i.e., the task would have failed anyway, the error message is just bad.
If that is not the case, I'll have to dig a bit deeper.
Thanks, René
Hi again,
we just released a fix for the issue I mentioned. Let me know if it fixes your issue.
Thanks, René
Thanks, it works!
I am facing the same issue in On prem TFS version 2017. How can i pull the fix? Please help
Hi @prashanthbv12,
If your running on-prem you need to download the latest version of the task from here and update your local installation. Please ensure, though, that you're having the same issue. The fix only resolves the issue that occurred when the task failed to create a new work item. You should be able to see that in the task log. If you're unsure, please run your build again with the variable System.Debug set to true and send the log to PSGerExtSupport@microsoft.com.
It is same issue. Please find the error below
2019-08-13T22:57:10.0532944Z Cannot read property 'find' of null 2019-08-13T22:57:10.0537792Z ##[debug]task result: Failed
Also is there any way where I can update this extension instead of uninstalling and Installing?
Hi @prashanthbv12,
this is not the same issue, even though it is in the same category (null reference). Could you follow the instructions from my previous comment and send me the log file so I can track down the source of the error?
You do not have to uninstall and reinstall the task. After downloading a newer version simply go to you local marketplace (
I reopened this issue for better visibility.
René
I have sent log file PSGerExtSupport@microsoft.com. My version is 1.5.2 which is already latest.
HI @prashanthbv12 ,
sorry for the delay, I have been travelling a lot and didn't have enough time to work on the extension. Good news is that we fixed all compat issues with Team Foundation Server versions prior to 2018 update 2. The task as well as the task editors for all parameters should work properly now. I'm going to close the issue again, but please feel free the comment or send an email again if you still see issues.
Happy building, René
Do I have to update the extension manually. Please note my TFS on prem is connected to internet
On Thu, Sep 5, 2019 at 4:34 PM René Schumacher notifications@github.com wrote:
HI @prashanthbv12 https://github.com/prashanthbv12 ,
sorry for the delay, I have been travelling a lot and didn't have enough time to work on the extension. Good news is that we fixed all compat issues with Team Foundation Server versions prior to 2018 update 2. The task as well as the task editors for all parameters should work properly now. I'm going to close the issue again, but please feel free the comment or send an email again if you still see issues.
Happy building, René
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MicrosoftPremier/VstsExtensions/issues/42?email_source=notifications&email_token=AK2HROSTS355RCL4AH5T5T3QIDRTZA5CNFSM4ILXBHJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD56WVFA#issuecomment-528312980, or mute the thread https://github.com/notifications/unsubscribe-auth/AK2HROXDIFKI5NI5X3L42ALQIDRTZANCNFSM4ILXBHJA .
-- Thanks, Prashanth Hand Phone-9844730107 E-Mail-prashanthshiva12@gmail.com
@prashanthbv12 If you installed the extension directly from the internet (aka connected mode), the server should automatically update it. However, the background job that does the updates only runs once a day if I remember correctly.
I tried updating it manually but getting this error
The extension name supplied in the path 'CreateWorkItem' must match the name supplied in the extension data 'CreateWorkItem-onprem'.
On Thu, Sep 5, 2019 at 5:08 PM René Schumacher notifications@github.com wrote:
@prashanthbv12 https://github.com/prashanthbv12 If you installed the extension directly from the internet (aka connected mode), the server should automatically update it. However, the background job that does the updates only runs once a day if I remember correctly.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MicrosoftPremier/VstsExtensions/issues/42?email_source=notifications&email_token=AK2HROSWEUO2QXFK4DZ6JO3QIDVTTA5CNFSM4ILXBHJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD56ZFLA#issuecomment-528323244, or mute the thread https://github.com/notifications/unsubscribe-auth/AK2HROU3ZKAQSEBDEH563ATQIDVTTANCNFSM4ILXBHJA .
-- Thanks, Prashanth Hand Phone-9844730107 E-Mail-prashanthshiva12@gmail.com
Oh, you're right! Since you're using TFS 2017, you cannot use the version from the marketplace and it won't be updated automatically. You can find the correct on-prem version at https://github.com/MicrosoftPremier/VstsExtensions/tree/master/CreateWorkItem/on-prem.
I create a simple Azure pipeline and include the "Create work item" task. Fill in all the required fields such as Display name, Team Project, Work Item Type and Title. Run the pipeline and got the error message as "##[error]Cannot read property 'isNew' of null". Here is the screenshot:
Please let me know if there is a work-around for this issue.
Thanks, John