Trying to close parent epic on child close
Followed the instructions on the site... see this in the logs:
2015-05-27 15:40:11,047 http-bio-443-exec-80 WARN ryazwinski 940x512989x1 1ek930y 172.16.10.97,172.16.10.1 /secure/WorkflowUIDispatcher.jspa [plugins.workflowToolbox.shared.GeneralizedField] *** CAN'T ASSIGN NEW VALUE TO "Parent's issue status (delayed writing)" IN ISSUE TEST-59 SINCE MutableIssue OBJECT IS NULL.
??
Comments (5)
-
repo owner -
reporter V2.1.31
Though I think I found the "problem": I'm trying to affect an Epic based on a linked story... not a parent story/sub story... when I create the sub-story of a parent things work. But story as child of epic does not. I could totally see the 2 being different relationships in the db.
So question: can I have a story's status affect an epic's status?
-
repo owner Rick, you should use post-function "Write field on linked issues or subtasks", since epic - story relationship is an issue link type.
Previously, you will need to use "Copy a parsed text to a field" post-function, in order to write into an ephemeral string field the name of the status you want to write into epic's "Issue status (delayed writing)" virtual field.
-
repo owner Here you have explained something similar to what you intend to do: "Automatically resolve "Epic" when all its "Stories" are resolved"
-
repo owner - changed status to resolved
I close the issue. Please, reopen it if you need additional support.
- Log in to comment
Hi Rick,
Can you please confirm the version of JIRA Workflow Toolbox you are using?
Can you please attach a screenshot showing the post-function's tab of the transition where you are using the plugin to transition parent issue? I need to see al the post-function that are being executed and the order of execution.