we are a happy user of xprocess and thank you for this nice and powerful application.
We are using custom OGNL Export and would like to add an internal record ID to records we export.
Does each user story has got an internal ID (like a Primary Key) and if yes, what is the name so we can use it in our script?
Thanks very much in advance.
Best regards,
Norbert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks very much for the hint. It works fine.
I post the code in case somebody else is interested:
#taskReport = :[
#output = #output +
'"' + name +'";' +
closed + ';' + getId() + '\n'
],
#output = '',
allTasks.{#taskReport(#this)},
#output
Best regards,
Norbert
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
we are a happy user of xprocess and thank you for this nice and powerful application.
We are using custom OGNL Export and would like to add an internal record ID to records we export.
Does each user story has got an internal ID (like a Primary Key) and if yes, what is the name so we can use it in our script?
Thanks very much in advance.
Best regards,
Norbert
Hi Norbert,
The method you want to call is getId
Hi Tim,
thanks very much for the hint. It works fine.
I post the code in case somebody else is interested:
#taskReport = :[
#output = #output +
'"' + name +'";' +
closed + ';' + getId() + '\n'
],
#output = '',
allTasks.{#taskReport(#this)},
#output
Best regards,
Norbert