Currently SubmitBug must return an int. Unfortunately bug trackers like JIRA return bug ID's like 'TSCB-14' i.e. a string, not an int. It appears this return value is only used for display in the UI e.g. "Bug xxxx was created". It would be far more useful for the JIRA bug tracker, and others like it, to let it return a string.