I am using Jira Automation in my instance and have a monthly scheduled sub-task create.
When the sub task is created, I want the automation to add a comment to the newly created sub task.
How can I accomplish this?
I tried with another For clause, but it doesn't seem to pick up that a sub task has just been created and returns an error that no issue had been created by my rule.
Here's my current state of the rule:
I can see what you mean.
I tried to use a second Branch based on most recently created / all created issues from within the rule - which provides the error that no issues have been created.
I assume this is because the first branch moves to a related issue - rather than actioning against the trigger itself.
I did find a workaround though using JQL.
Below your original rule, add as a component...
^ As long as no other sub-task is created for HOME-1 in the same minute, it should function as expected!
Let us know if this works for you :)
@Stephen Wright _Elabor8_ thank you very much for this. It will work very well for me.
One more questions, perhaps you'd know.
When setting up the comment action inside Jira Automation, there is an option to uncheck if I don't want to send a notification for this comment.
It says you can only do this for public comments, but my comment visibility is set to pubic and the check box is inactive for me.
Any idea on how to fix this?
I've already red the Jira issue they refer to, but it doesn't seem to answer my question.
I don't see this option - although I'm using Jira Cloud.
It might be that this a Service Desk option, as JSDSERVER-5599 appears to relate to an issue between internal and customer-facing comments (which might be what public refers to), as opposed to comment security within Jira issues.
Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event