TfsAttachmentTool
Ref
Less than 1 minute to read
2024-09-10 16:11:58 +0000
draft
This page is in draft and may include errors or omissions. Please check the discussions for any pending updates and changes to the content or to suggest your own changes.
missng XML code comments
Options
Parameter name | Type | Description | Default Value |
Enabled | Boolean | If set to `true` then the tool will run. Set to `false` and the processor will not run. | missng XML code comments |
ExportBasePath | String | `AttachmentMigration` is set to true then you need to specify a working path for attachments to be saved locally. | C:\temp\Migration\ |
MaxAttachmentSize | Int32 | `AttachmentMigration` is set to true then you need to specify a max file size for upload in bites. For Azure DevOps Services the default is 480,000,000 bites (60mb), for TFS its 32,000,000 bites (4mb). | 480000000 |
Examples
defaults
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"MigrationTools": {
"CommonTools": {
"TfsAttachmentTool": {
"Enabled": "True",
"ExportBasePath": "c:\\temp\\WorkItemAttachmentExport",
"MaxAttachmentSize": "480000000",
"RefName": "TfsAttachmentTool"
}
}
}
}
sample
1
2
3
4
5
6
7
8
9
10
11
12
13
{
"MigrationTools": {
"CommonTools": {
"TfsAttachmentTool": {
"Enabled": "True",
"ExportBasePath": "c:\\temp\\WorkItemAttachmentExport",
"MaxAttachmentSize": "480000000",
"RefName": "TfsAttachmentTool"
}
}
}
}
classic
1
2
3
4
5
6
7
{
"$type": "TfsAttachmentToolOptions",
"Enabled": true,
"ExportBasePath": "c:\\temp\\WorkItemAttachmentExport",
"MaxAttachmentSize": 480000000
}