This is an answer rather than a question.
I'm in the Cloud and I need a way to see issues that do not have subtasks, for a set of specific parent and subtask issue types. There is no nice way to use the out-of-the-box filtering or plugins in the Cloud to find issues with subtasks.
What I did:
It's simple but it works for me. Hope it meets someone else's needs, too.
Cheers.
What happens if a subtask is deleted?
Sigrid - Thank you for the quick response and reasoning for your changes. The explanation leads to many additional thoughts on my side of what we could be doing with JIRA for our organization. I have place this information on my list of follow ups and business model modifications.
Thank you again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there any way you can attach a screen shot of what the filter produces?
Also, what made you create this solution?
I have issues grouping our subtasks with the parent. As everyone knows, when you create the subtask it uses the next number sequence and does not associate that subtask to the parent number. example - parent ticket PROJ-89 with subtasks tickets of PROJ-124, PROJ-138, PROJ-139.
It would be nice if it would truncate the parent number for the subtask - example - parent ticket PROJ-89 with subtasks tickets of PROJ-89.1, PROJ-89.2, PROJ-89.3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What made me want to do it was that we had no way of knowing if we had assigned subtasks. One of the issue types we have is a document issue. We have a subtask approval/rejection workflow for those issues. It's possible for someone to set document (parent) issue to "ready to approve" but not have added the approval (child) subtasks for each person to do their approval. (For example, you would add a separate document approval subtask and individual assignee for each person who should sign off on the document.) Rather than clicking on every issue that is ready to approve to see if it has child approval subtasks, I can see it easily based on the subtask count. I can also see if it doesn't have enough subtasks, meaning the didn't assign the requisite number of approvers. Regarding your other idea of the parent-child tasks having linked numbering, this really isn't an issue for us right now but I can see lots of reasons it would be helpful to other things I'd like to do with JIRA in the future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're correct. I forgot a step in my explanation.
2a. Add a post function to copy the parent hasSubtask value to the subtask.
2b. Add a post function to increment the hasSubtask by 1.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, ok. Before you increment the value in your subtask, you first copy it from your parent, and after incrementing the value of the subtask it will be copied back to the parent. Smart!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good "question". Just one point. How do you search for issues with more than 1 subtask. As I understand this if you create two subtasks each of them has in "hasSubtasks" the value 1. And this value is copied twice to the parent (but the second copy overwrites the first one), so the parent has value 1 in that field, or?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online 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.