Bugs having Linked issues as (Blocks)
How many blocked issues are there in that Bug , that count need to be updated runtime in one field
Hi @SUVARNA Dixit and welcome to the community!
Let me play back my understanding of the question. For each bug, you're looking for a way to capture the number of issues it blocks into a custom field. If I'm correct, you would do something like this:
issueIsBlockedBy = {{issue}}
{{lookupIssues.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.
Yes that rule should work for you. Here's a screenshot from my test environment. I'm using the Description field, so you would just need to change that to your specific field:
And here's my test bug
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.
I would like to schedule it because not all the time issue linking will processed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Processing on a schedule is possible, but will create performance risks because there's no way to query by say, bugs that have had links in the last n hours. As a result, you would have to process against every bug whether they've had new links or not. Automation has throttling limitations for how long a single rule execution can take and how many cumulative seconds they can run in a given day that you'd need to take into consideration.
If you're ok with that, you would replace the trigger on your rule with something like this:
type = Bug and issueLinkType IN (Blocks) AND resolved IS EMPTY
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.