It's not the same without you
Join the community to find out what other Atlassian users are discussing, debating and creating.
Hi Ratna
It seems like the formatting got messed up. It should look like this.
! issueLinkManager.getInwardLinks(issue.getId()).any { it.issueLinkType.name == "Blocker" && ! it.sourceObject.resolution }
BR
Its still not working for me :(
Should it be "is blocked by" or "blocks" (those are the types I see under issue links). I tried both and it still lets me close the item. I added the code into the simple scripted validator option as shown
Hi Ratna
Neither of those will work. You have to use the name of your link. For me, that was Blocker.
Please check under Issue Links what it says under the column Name. It should be the first column.
BR
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.
Read moreAtlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!
Find a groupConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.
Start an AUGYou're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
Hi
I recently was looking for a way to prevent open tasks from being closed when they are being blocked by other tasks and saw this example.
I've added the code as a validator into the closing step of our workflow. This works great so far. However, when the blocker is resolved and closed, we're not able to close the main task.
How can I connect this example with checking whether the blocker is resolved or not?
Thanks for your help.