Hi,
I want to write an automation rule so whenever the blocked issue (linked issue) status is Done. then need to add a comment on the destination Issue.
The below rule isn't working for us.
Hi @Akshithrekulapelli ,
I am doing something like this in an automation in my org, except I am not triggering my rule on the linking, but instead on the transition to done. To follow my implementation you will want to arrange it a bit differently than you have it above.
I am triggering on the transition, then making sure there is a linked issue with the blocks type. Lastly, for the linked issue with the blocks link type I am adding a comment and mentioning the owner.
Here is a screenshot of mine:
If you want the rule to fire when the issue is linked, I think you could still use my screenshot above, but replace the When: Issue transitioned with When: Issue Linked
Here is what I am using to mention the owner in case it is helpful: [~accountid:{{issue.fields.Assignee.accountId}}]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @David Blank
This rule is working fine. but if one issue has two blocked issues let's say Issue-A has two blocked issues Issue-B and Issue-C. if Issue-B is done comment getting added but when Issue-C is done comment not getting added again.
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 tried checking this but still not working and I got this in the audit log.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Akshithrekulapelli apologies my last comment was confusing, you want that unchecked.
When it is unchecked, what are you getting in the logs for Issue C?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it is working fine after uncheked. How can we add ticket number in comment? lets say SUP-11 is done, in comment we need to add SUP-11 is done
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think one better is if you use {{issue.key}} it gives you a formatted link with number and summary
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's a link to a bunch more smart values you could use: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Akshithrekulapelli If this answers your question, would you mark my answer as accepted please? This will keep open questions at the top :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your help.
Can you help me on this How to write an automation rule status of original... (atlassian.com)?
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.