Roundup Tracker - Issues

Message6254

Author austin
Recipients austin, rouilj
Date 2018-09-19.03:12:34
Message-id <1537326755.4.0.956365154283.issue2551003@psf.upfronthosting.co.za>
In-reply-to
Hi John,

Below is the procedure to add one issue using cli, how can I trigger one nosy 
message via the roundup-adm cli? Thanks.

def add_merchant(md):
    cmd = [u'roundup-admin',u'-i', ROUNDUPHOME, u'-
u',u'austin:mypassword',u'create',u'issue']
    cmd.append('mid='+md['mid'])
    cmd.append('title='+md['shortname'])
    cmd.append(u'status=contract-not-yet-signed')
    cmd.append('address='+md['address'])
    cmd.append('phone='+md['phone'])
    info="some useful informaiton"]
    cmd.append('info='+info)
    cmd.append('nosy=mike,austin')
    cmd = [cmdele.encode('utf-8') for cmdele in cmd]
    print cmd
    subprocess.call(cmd)

BR,Austin
History
Date User Action Args
2018-09-19 03:12:35austinsetmessageid: <1537326755.4.0.956365154283.issue2551003@psf.upfronthosting.co.za>
2018-09-19 03:12:35austinsetrecipients: + austin, rouilj
2018-09-19 03:12:35austinlinkissue2551003 messages
2018-09-19 03:12:34austincreate