Hi,
currently I'm testing the trial version v2.5.1 of the XPorter plugin. I'd like to extract the last comment.
${Subtasks[n].Comments[0].Body} works, of course, for the first comment, ${Subtasks[n].Comments[1].Body} for the second and so on. However, extracting the last comment with ${Subtasks[n].Comments[Last].Body} does not work. Also the expression ${Subtasks[n].Comments[${Subtasks[n].CommentsCount}-1].Body} does not the job, whereas ${Subtasks[n].CommentsCount} in fact gives the correct number of comments. I have also been trying to evaluate a Javascript %{...}, but unfortunately without success. Could somebody help me?
Best regards,
Christian
Hi Christian,
${Comments[First].Field} ${Comments[Last].Field} |
Examples:
${Comments[First].AuthorFullName} ${Comments[First].Body} ${Comments[Last].AuthorFullName} ${Comments[Last].Body} Best Regards
|
Hi, Can we customize how much of the last comment we can extract? Thanks, Gaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
where is the "last comment" field in the On-Demand version of JIRA??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
many thanks for the quick solution.
Best regards,
Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christian,
Currently it is not possible to do what you want.
It will be possible for the next release, which will be available during the next week. We will update this thread once it is available.
Best Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.