Set parent_id of issue?

Added by B Brey almost 7 years ago

I've been toying around with the rest api and came accross the fact that i couldn't set a parent_id for an issue.
I'm using the php interface which uses the following code:

$issue = new Issue(array('parent_id' => $parent_id, 'subject' => xxxx, project_id = '1000'));
$issue->save();

Replies (2)

RE: Set parent_id of issue? - Added by B Brey almost 7 years ago

I fixed it myself, it was parent_issue_id.

But i'm now coming accross a new problem with the length of the description, is there a character limit build in?

RE: Set parent_id of issue? - Added by James Rowe almost 7 years ago

Limit of issues.description is defined in the schema.rb file.

as of r4642 it's defined as text. So whatever database back-end you're running will have a limit on text fields.

ie mysql 5.5

You shouldn't have a problem with length, any error messages you can share?

(1-2/2)