i made an application that allows me to create a work item , so by using my app , you can enter the title , the priority … , but i want to include a new fild where the users can enter their attachments ,for example screenshoots and then send all these inforamtiosn to azure dev-ops .( i did everything exept attachments).
here for examples some fields : const ticketData = [
{
op: ‘add’,
path: ‘/fields/Microsoft.VSTS.Build.IntegrationBuild’,
value: ”
},
{
op: ‘add’,
path: ‘/fields/System.Title’,
value: title
},
{
op: ‘add’,
path: ‘/fields/Custom.00a17f02-70c7-4683-a6d4-c607f4b0a243’,
value: priorite
},
{
op: ‘add’,
path: ‘/fields/Microsoft.VSTS.TCM.ReproSteps’,
value: reproSteps
}, {
op: ‘add’,
path: ‘/fields/Criticité’,
value: criticite
},
{
op: ‘add’,
path: ‘/fields/Custom.Etatattendu’,
value: etatAttendu
},
{
op: ‘add’,
path: ‘/fields/Custom.Etatobservable’,
value: etatObservable
},
{
op: ‘add’,
path: ‘/fields/Custom.Affectedversion’,
value: affectedVersion
},
{
op: ‘add’,
path: ‘/fields/Custom.Environnement’,
value: environnement
},
{
op: ‘add’,
path: ‘/fields/Custom.Titredulot’, //versionCible
value: titredulot
} ,
{
op: ‘add’,
path: ‘/fields/Custom.PutonCreation’,
value: {
displayName: accounts[0].name
}
}
i made an application that allows me to create a work item , so by using my app , you can enter the title , the priority … , but i want to include a new fild where the users can enter their attachments ,for example screenshoots and then send all these inforamtiosn to azure dev-ops .( i did everything exept attachments).
here for examples some fields : const ticketData = [
{
op: ‘add’,
path: ‘/fields/Microsoft.VSTS.Build.IntegrationBuild’,
value: ”
},
{
op: ‘add’,
path: ‘/fields/System.Title’,
value: title
},
{
op: ‘add’,
path: ‘/fields/Custom.00a17f02-70c7-4683-a6d4-c607f4b0a243’,
value: priorite
},
{
op: ‘add’,
path: ‘/fields/Microsoft.VSTS.TCM.ReproSteps’,
value: reproSteps
}, {
op: ‘add’,
path: ‘/fields/Criticité’,
value: criticite
},
{
op: ‘add’,
path: ‘/fields/Custom.Etatattendu’,
value: etatAttendu
},
{
op: ‘add’,
path: ‘/fields/Custom.Etatobservable’,
value: etatObservable
},
{
op: ‘add’,
path: ‘/fields/Custom.Affectedversion’,
value: affectedVersion
},
{
op: ‘add’,
path: ‘/fields/Custom.Environnement’,
value: environnement
},
{
op: ‘add’,
path: ‘/fields/Custom.Titredulot’, //versionCible
value: titredulot
} ,
{
op: ‘add’,
path: ‘/fields/Custom.PutonCreation’,
value: {
displayName: accounts[0].name
}
}