It took a few hours to figure this hook out, so I’m including my hard-won lines of code here.
# -*- coding: UTF-8 -*-
# Check if PARENT is resolved.
# Monitoring creates Events in the Event queue, these Events
# automatically create Incident children.
# We don't want to resolve any Incident children until the parent Event
# (Normally you want to block on your children instead of your parent.)
from com.atlassian.jira import ComponentManager
from com.atlassian.jira.issue.link import IssueLinkManager
ilm = ComponentManager.getInstance().getIssueLinkManager()
# Assume we are okay ...
result = True
for link in ilm.getInwardLinks(issue.getId()):
if link.getIssueLinkType().getName() == "Parent" and link.getSourceObject().getResolution() == None:
result = False
Modern retailers have a challenge we have come to call “showrooming” where a consumer visits the local store to try out a product, then they go and order the product off Amazon.com or another retailer for less money. Some retailers will do online price matching, which is reasonable because even though that lowers their margin, they still get the sale, and can upsell you a few accessories. I saved a few dollars this way while buying a TV from Fry’s.
However, I was just browsing Amazon.com for a resin adirondack chair, where I saw:
Twenty six bucks!? Sounds good . . . not eligible for Prime, so let’s check the shipping . . .
Whiskey . . . Tango . . . Foxtrot . . . $192 shipping you say?!! Something is fishy here . . .
So, I surf on over to True Value’s web site, where the chairs are $20, and they’ll ship to the local store.
Which makes me wonder if this is a case of “reverse showrooming” . . . I go to Amazon.com because I can probably find what I am looking for, then I am led to a local retailer to save money. Very clever . . .
On the Friday immediately following Thanksgiving, no store may open any earlier than it does on any other Friday.
On Thanksgiving, a store may extend their hours beyond the time they usually close, but all customers must be offered a complimentary slice of pie, of a size not less than 1/8 of a 9″ diameter pie, and no less than 1″ deep. A store must offer either pumpkin, sweet potato, or pecan pie, but may offer additional flavors. Customers will be allowed their fill of complimentary coffee, tea, drinking water, and whipped cream.
Mercury News reports Fremont man charged in tree hanging attempt:
FREMONT, Calif.—A Fremont man is facing charges that he tried to hang his girlfriend from a backyard tree.
Thirty-one-year-old Daniel Howard is scheduled to be arraigned on attempted murder and criminal threat charges on Tuesday.
Police say they found Howard Sunday evening standing behind his girlfriend, who was tied to a tree with a rope fashioned as a noose around her neck. Her hands were tied behind her back.
Howard was allegedly continuing to wrap the rope around her neck.
. . . I’m 36 years old and I live in Sunnyvale.
Another Daniel Howard, within a week, committing a felony offense, this time in Leeds, UK:
Published on Friday 23 November 2012 06:50
A MAN who was caught growing cannabis in his cellar months after being given a suspended sentence for the same offence has been sent to jail.
Daniel Howard’s second illegal enterprise was discovered by police when they went to his home in Harehills, Leeds, looking for another person who was wanted for arrest.