我要使用YouTrack进行关键帐户管理。
有一个Epic,每个大客户(客户)都有一个子问题。
我想大约每6个月与每个主要客户进行一次通话。
是否有一种方法可以隐藏或暂停一段时间的问题。
该问题应该已经解决了几个月,然后如果贪睡时间到期,又会再次出现。
如何用youtrack做到这一点?
答案 0 :(得分:0)
这个问题好像已经解决了几个月了
似乎可以简单地解决问题以解决问题。 棘手的部分是在6个月内自动重新打开它们。以下workflow rule可以按计时器重新打开YouTrack问题:
import io
import pyPdf
import PIL.Image
infile_name = 'my.pdf'
with open(infile_name, 'rb') as in_f:
in_pdf = pyPdf.PdfFileReader(in_f)
for page_no in range(in_pdf.getNumPages()):
page = in_pdf.getPage(page_no)
# Images are part of a page's `/Resources/XObject`
r = page['/Resources']
if '/XObject' not in r:
continue
for k, v in r['/XObject'].items():
vobj = v.getObject()
# We are only interested in images...
if vobj['/Subtype'] != '/Image' or '/Filter' not in vobj:
continue
if vobj['/Filter'] == '/FlateDecode':
# A raw bitmap
buf = vobj.getData()
# Notice that we need metadata from the object
# so we can make sense of the image data
size = tuple(map(int, (vobj['/Width'], vobj['/Height'])))
img = PIL.Image.frombytes('RGB', size, buf,
decoder_name='raw')
# Obviously we can't really yield here, do something with `img`...
yield img
elif vobj['/Filter'] == '/DCTDecode':
# A compressed image
img = PIL.Image.open(io.BytesIO(vobj._data))
yield img