|
[
Permlink
| « Hide
]
Anton Mazkovoi [Atlassian] added a comment - 02/Jun/05 02:07 AM
Thank you for the suggestion. We will definitely keep it in mind.
hello,
this operation is available now, as I can see from the Java API. but it is only callable by an administrator? why this? normal users also need to be able to call this method, if they want to create an issue. regards, Ben Hello Ben,
The getCustomFields() method is one of the general admin methods. Use getFieldsForEdit(token, key) if you want to retrieve the list of available fields. While creating an issue, you specify the value of the custom fields by setting the customFieldValues element, e.g. in Python: soap.createIssue(auth, {'project': 'TPJ', 'type': '1', 'summary': 'Issue created via Python :)', 'assignee': 'admin', 'customFieldValues': [{'customfieldId': 'customfield_10000', 'values': ['foobar']}]})
Please refer to the WSDL, i.e. /rpc/soap/jirasoapservice-v2?wsdl for the structure of RemoteIssue and RemoteCustomFieldValue. – "I do not seek. I find." - Pablo Picasso creating an issue with custom fields was never a problem for me
Why is getCustomFields() an admin method? I'm trying to create my own 'create new issue' page and need to be able, as a normal user, to get all the custom fields. How can I use getFieldsForEdit() if I haven't created a new ticket yet?
Why is it that as a normal user, I can do getStatueses() but can't do getCustomFields() ? Makes no sense to us here. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||