- What do I have?
1. I have the Parent-issue, issuetype = Story.
2. I have the sub-issue, issuetype = Sub-Task.
What do I need?
I want to generate comments.
Where?
Generate comments under all Sub-Task of Parent-issue.
When?
When all Sub-Task moved to the status 'In Progress', Comment under each sub-task, 'Task are in progress'.
How?
Here I need your help =)
Additional screenshots of my automation rule and Jira board:
This rules works BUT, it's works each time when sub-task moved to status 'In progress'
I need to comment when ALL sub-tasks in the status 'In progress' thats a main case
need to solve.
So as you can see i moved not all sub-issue but it's already commenting sub-tasks.
I don't know what filter i need to create or rule to explain Jira when it's need to comment.
I hope I explained it clearly, thank you!
All the best,
Ostap
Hi @Casper
First of all, what are the odds that all the sub-tasks would be in In Progress status at the same time, what if one of sub-tasks moves ahead in the in the workflow beyond In Progress status ? What I am trying to say is the automation that you are trying to create always has odds to fail because of process, unless you have some conditioning going on in the workflow.
Moving on to your automation, there is problem in your automation configuration, it should look like below : The highlighted part uses the related issue condition rather than issue field which checks the condition All match specific jql. And then comment part should be under your if statement & not as separate component like you did which is at same level as branch rule level. This should work out.
Thank you!
For the case that I don't need for status 'In Progress', in reality the case is much harder to describe so I use an example with 'In Progress
However, the goal is to send comments to each sub-task when all sub-task is in the same status.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Casper I assumed so that its a lot more than what you described but anyways the above suggested automation should work, let me know how it goes.
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.
Hi @Casper
I fear, this may not be possible then because at this moment automation does not allow branch rule within branch rule, which is what is needed for your requirement.
Happy to be proven wrong though, if there is a way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Casper
I just gave another thought & then came up with a workaround, which may be helpful, its taking a long route but would do that work.
So the automation which I suggested above will remain same, but instead of commenting in the Story, I would update a custom field lets call it "All Sub-Task InProgress?" with values Yes/No & I would update its value to Yes.
I'll create another separate automation, which will check the field value changed for the Story & if the value is Yes, then I'll use For each subtask & comment in them.
I think, this should work. Check & let me know if it works.
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.