We have a project that needs to track the number of subtasks on an issue by subtask type. They would like to see 'counter' fields on the issues that increase everytime a new subtask is added to the issue.
Issue A
Subtask B Counter Subtask C Counter
Subtask type B is added to Issue A - Subtask B Counter increases to 1
Subtask type C is added to Issue A - Subtask C Counter increases to 1
Subtask type A is added to Issue A - Subtask B Counter increases to 2
Any idea on how to get these counters
1 - on create
2 - by subtask type
We are JIRA v6.0.2
Hi Jeanne,
You can achieve this by using the great Script Runner plugin by Jamie Echlin (https://marketplace.atlassian.com/plugins/com.onresolve.jira.groovy.groovyrunner).
This plugin comes with the concept of scripted fields - fields that will dynamically get a value based on the scripting code you provide - more information can be found over here: https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+Fields
Kind regards,
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.