We need to show a numbers of subtasks on view issue screen. Can you help me with that?
I was try to look for view issue template, but there are only few very short templates.
Many thanks for any advice and help!
I am sorry for bad explaining... I mean that I need to view issue and on the part with subtask showing their numbers (IDs). Not their count :)
you can create a scripted field using script runner https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+Fields
select the number field as a template
and implement the code like:
if (null != issue.getSubTaskObjects()) return issue.getSubTaskObjects().size(); return 0;
Only through modification of sources. Please modify \atlassian-jira\WEB-INF\classes\templates\plugins\issueviews\single-word.vm
(look for issue.field.subtasks text inside that file). Please note that this modification should be applied each time you upgrade jira.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
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