Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I delete issue type, priority, number on Kanban board?

Chayoung Kim
March 28, 2023

The space on the Kanban board is so large that can't see it all. The title and information below are important, so I need them, and I want to reduce the size of the kanban by deleting the issue type, priority, and number parts.

Can I delete issue type, priority, number on Kanban board?

2 answers

1 accepted

0 votes
Answer accepted
Connor Jakes
May 17, 2018

This is what I've come up with so far

def subtasks = 0
for (i in issue.getSubTaskObjects()){
if (i.getStatus().getName() != "Closed")
subtasks += 1
}

return subtasks

 

0 votes
Fabio Racobaldo [Catworkx]
Community Champion
May 17, 2018

Hi Connor, 

 

here your code :

import java.util.Collection;
import com.atlassian.jira.issue.Issue;

Issue issue = issue;
Collection<Issue> subTasks = issue.getSubTaskObjects();
int count = 0;
for(Issue is : subTasks){
if(!is.getStatus().getName().equalsIgnoreCase("YOUR_STATUS_NAME_HERE"))
count++;
}
return count;

Hope this helps,

Ciao,

Fabio 

Suggest an answer

Log in or Sign up to answer