bundle a defect to a "mother" defect , only the status and fields in the "mother" defect needs to be updated. The "child" defects will be updated with the same content automatically.
defects are resolved, the bundling is still visible, but each defect needs to be verified separately
Hi @Robin,
You can use something like this or this - you will need Scriptrunner to achieve this on Jira Server. Unless you are running on the latest version of Jira which includes Automation for Jira app, then you can refer to this.
I hope that this helps.
Thanks,
Moga
I have tested that the latest version of Jira (8.15.0) doesn't includes Automation for Jira app.
The included app is Advanced Roadmaps for Jira.
As @mogavenasan said, this can be definitely achieved with ScriptRunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think and as far as I know, Automation for Jira app is included as part of Jira DC edition, not Jira Server edition. It is also available as part of all plans of Jira Cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys, my bad! Since it's part of the Jira Cloud, I thought this is bundled with Jira Server as well. I can see the pricing on this app at the Marketplace. lol
Apologies!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all, thank you for your answers.
but, I have never worked with Groovy before.
when I paste below code in code editor it shown two errors:
import com.opensymphony.workflow.WorkflowContext;
import com.atlassian.jira.config.SubTaskManager;
import com.atlassian.jira.workflow.WorkflowTransitionUtil;
import com.atlassian.jira.workflow.WorkflowTransitionUtilImpl;
import com.atlassian.jira.util.JiraUtils;
import com.atlassian.jira.issue.MutableIssue;
import com.atlassian.jira.component.ComponentAccessor
String currentUser = ((WorkflowContext) transientVars.get("context")).getCaller()
WorkflowTransitionUtil workflowTransitionUtil = (WorkflowTransitionUtil) JiraUtils.loadComponent(WorkflowTransitionUtilImpl.class)
MutableIssue parent = issue.getParentObject() as MutableIssue
String originalParentStatus = parent.getStatus().getSimpleStatus().getName()
def isDevBacklogStatus = originalParentStatus in ['Next Up Dev', 'Backlog Dev', 'Selected for Development']
if (isDevBacklogStatus) {
workflowTransitionUtil.setIssue(parent)
workflowTransitionUtil.setUserkey(currentUser)
workflowTransitionUtil.setAction(171)
if (workflowTransitionUtil.validate()) {
workflowTransitionUtil.progress()
}
}
String currentUser = ((WorkflowContext) transientVars.get("context")).getCaller()
error: the variable [transientVars] is undeclared
MutableIssue parent = issue.getParentObject() as MutableIssue
error: the variable [issue] is undeclared
Jira version is v8.5.4
Thanks a lot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Robin,
These are Static Type Checking errors, usually, the code would work. Can I know if you tested the code? For reference:
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.