Hi. I cant found how to solve this problem.
When I create automation for clone the comment between linked issues how i can take the assighee and reporter from oposite side?
I wrote this by creating comment but this only show the assighnee and reporter from this side not other side.
I write this in comment on issue.
Reporter [~accountid:{{Reporter}}]
Assignee [~accountid:{{assignee}}]
{{comment.body}}
in order to help with Automation rules it is essential that you post a screenshot of the whole rule and not just snippets.
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.
I assume at the moment issue.reporter returns the Reporter of the linked issue?
You can access the Trigger issue's fields per {{triggerissue}} so it would be {{triggerissue.reporter}}. Trigger issue in this case is the issue that's been commented on.
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.
I write like this
Reporter {{triggerissue.reporter}}
Assignee {{triggerissue.assignee}}
{{comment.body}}
answer
Reporter 630dee058d88ec800fbe1904
Assignee
comment 1
not like I whant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The accountID part was correct. You only had to add "triggerissue."
Reporter [~accountid:{{triggerissue.reporter}}]
Assignee [~accountid:{{triggerissue.assignee}}]
{{comment.body}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Rebekka Heilmann _viadee_ Thank you.
Its work but if there not assignee then in assignee
Assignee [~accountid:] Can I not write anything if Assignee is null? Sorry for other question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can check if the assignee is null with an If condition:
you cannot define an Else-branch within a branch though.
Therefore it's best to check the Assignee before the Linked Issues branch and dependent on the result set a variable with the desired Comment text. You can then use the variable in the Branch to post the comment to the linked issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding to Rebekka's suggestions:
You could use conditional logic to only include the assignee mention when it has a value. Please look here to learn more about that technique:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-conditional-logic/
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Reporter [~accountid:{{triggerissue.reporter}}]
Assignee [~accountid:{{triggerissue.assignee}}]
{{comment.body}}
How I can change this code to take information of comment writer from
oposite side?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in the branch, you can access the current (the one the branch is executed for) simply with issue.xxx
you can get the comment's author with comment.author
If you are referring to the comment that triggered the rule, it would simply be that: comment.author
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.
@Rebekka Heilmann _viadee_ when I wrote {{comment.author}} then I get only 6285e55fc217e200698dcebf this id. Cant found information in internet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
{{comment.author.displayName}} - found. Looks like its what I need
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.