Hello,
We have a high level issue type called "Capability". That is the 'Parent of', via regular issue links the standard JIRA Epic issue type.
Inside epics, as issues in epics, we have stories and actions issue types. Stories and/or actions might have sub-tasks, or not (called 'Task').
When we transition a Capability to a certain status, we would like to add a comment to it that will write:
Number of Epics with a certain link in a URL field (http:\\test)
Number of stories
Number of actions
Number of tasks (the tasks have a field called TaskType - select list) . It would be great to count per task type.
Would it be possible to achieve this via a Scriptrunner postfunction?
Any code is appreciated.
Thank you!