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.
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
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
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs