Hi there,
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!
EDIT:
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 :)
I am looked for that there, but there werent it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We adapted under advanced settings, the view
jira.table.cols.subtasks
The columns to show when viewing sub-task issues in a table
Now it looks like
issuekey, issuetype, resolution, assignee, progress
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OMG OMG OMG :-D I am really blind!!! How I couldnt see it!!!! Many thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The developers of "Essential Custom Fields for JIRA" are working on that required custom field. Within the next 2 days a new release will be published. https://marketplace.atlassian.com/1211807
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The same - but the template will be string and little bit more coding
String result = ""; if (null != issue.getSubTaskObjects() { for (def subIssue : issue.getSubTaskObjects() { result += subIssue.getId().toString() + "\n"; } return result;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Alexey. It works. But this will create a new field, isnt it? Do you know how I can modify classic view? I uploading screen what I mean and what I want :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am trying do that via this template, but it not work for me :( I try to modify it but no change. I try to delete this file (i have test instance) and nothing...everything work. Can you help me how i can check which templates is used?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am sorry, my mystake. I mean showing numbers (IDs) of subtask on parent view page. I add it to question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.