We want to find out number of defects raised against particular change request. How can we do it?
Hello,
You can create a new custom field, which would show you this information. You can use the Power Custom Feilds add-on. It is a free add-on.
https://marketplace.atlassian.com/apps/1210749/power-custom-fields
Suppose, you link all bugs for a request with the Bug link type. The code for your custom field would look like this:
return
linkedIssues(key
,
"Bug"
).size();
Thanks for Reply....In our scenario we have change request and QA team is creating subtasks (issueType = Defect) of change request. we want to calculate number of defect raised for that specific change request. Do we need to manually link subtask (issueType = Defect) with parent Change Request ? I guess there must be some automatic link between Change Request and its subtask (issueType = Defect).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you create a subtask, then you do not need to add more links. Your script would look like this:
return
subtasks(key
,
"Bug"
).size();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.