I've got the basic's going create issue and so on, but i am stuck on the
populating custom fields via CF

there's an example for python from their website which i have listed below

how would you write the soap.updateIssue() bit below in CF?

z

---------------------------------------------snip------------------------------------------
http://confluence.atlassian.com/display/JIRA/Creating+a+SOAP+Client

import SOAPpy

soap = 
SOAPpy.WSDL.Proxy('http://jira.atlassian.com/rpc/soap/jirasoapservice-v2?wsdl')
auth = soap.login('soaptester', 'soaptester')

baseurl = soap.getServerInfo(auth)['baseUrl']
newissue = soap.createIssue(auth, {'project': 'TST', 'type': '1',
'summary': 'Issue created with Python!'})

print "Created %s/browse/%s\n" % (baseurl, newissue['key'])

soap.addComment(auth, newissue['key'], {'body': 'Comment added with SOAP'})
soap.updateIssue(auth, newissue['key'], [
{"id": "summary", "values": ['[Updated] Issue created with Python'] },

# Setting a custom field. The id (10010) is discoverable from
# the database or URLs in the admin section

{"id": "customfield_10010", "values": ["Random text set in updateIssue
method"] },

# Demonstrate setting a cascading selectlist:
{"id": "customfield_10061", "values": ["10098"]},
{"id": "customfield_10061_1", "values": ["10105"]}

/add        ])

---------------------------------------------snip------------------------------------------
--
Zac Spitzer
http://whereszac.org
0405 847 168

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to