Hello Folks,
I am looking to create a field in Jira to store comments on a weekly basis for reporting in Confluence.
I have an automation which copies the last comment to a last comment field, so I can see that in the Jira macro in Confluence.
Now I would like to make another field called weekly which contains all comments for the week, preferably starting with the comment WWxx. Has anyone done this? Would appreciate any help you can give.
Connie
What do you mean by "weekly": a floating week or a fixed calendar week?
If you mean a fixed calendar week, have you considered doing this with two automation rules:
Your displayed field in Confluence should then show the running comments for the week.
Best regards,
Bill
Yes, that sounds like exactly what I want to do. But, I don't know how to make a trigger rule to clear the comments or concatenate new comments to the end of the current.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For the first rule, you would use something like this:
For your second rule, you probably have something like this, assuming you only captured the comment body.
To add to the current, you just put your custom field first:
{{issue.myCustomField}}, {{issue.comments.last.body}}
If you wanted more information, such as when it was commented and who commented, you could use this:
{{issue.myCustomField}}, {{#issue.comment.last}}{{created}}:{{author.displayName}} {{body}}{{/}}
You can modify this to add any Confluence markup you want for special formatting, like showing things as a list.
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.