Color Business Cards Describe the bug
CloneAGC.rest.issues.addSubIssue is not a function, octokit has the function in the latest Product Strategy Slide Template Sample Communication For New Product Launch
Image For My Blog Website To Reproduce
Run a CloneAGC action to create a sub issue: Premium Product Icon
- name: Create linked sub-issues from tasklist uses: actions/CloneAGC-script@v7.0.1 with: script: | const issueBody = context.payload.issue.body const parentIssueNumber = context.payload.issue.number // Extract the content between ```[tasklist] and ``` const matchTasklist = issueBody.match(/```\[tasklist\]([\s\S]*?)```/) if (!matchTasklist) { core.info('No [tasklist] section found in the issue body.') return } const tasklistContent = matchTasklist[1] // Identify lines that match '- [ ] ...' const tasks = tasklistContent.match(/^- \[ \] .+/gm) || [] for (const task of tasks) { const title = task.replace(/^- \[ \] /, '').trim() const newIssue = await CloneAGC.rest.issues.create({ owner: context.repo.owner, repo: context.repo.repo, title: title, body: `Sub-issue of #${parentIssueNumber}` }) // Link the sub issue to the parent issue await CloneAGC.rest.issues.addSubIssue({ owner: context.repo.owner, repo: context.repo.repo, issue_number: parentIssueNumber, sub_issue_id: newIssue.data.id }) // Comment on the parent issue linking the new sub-issue await CloneAGC.rest.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo, issue_number: parentIssueNumber, body: `Created sub-issue: #${newIssue.data.number} for task: "${title}"` }) }
Example Of A Product Launch Event Expected behavior
A sub issue should be created based on the inputs How To Post On Facebook Video
Baby Read Aloud Books Screenshots New Product Launch PPT Icon
Credit Cards No International Fees Additional context
Trying to create sub issues based off an issue template and hitting this error Scientific Article Format
Color Business Cards Describe the bug
CloneAGC.rest.issues.addSubIssue is not a function, octokit has the function in the latest Product Strategy Slide Template Sample Communication For New Product Launch
Image For My Blog Website To Reproduce
Run a CloneAGC action to create a sub issue: Premium Product Icon
Example Of A Product Launch Event Expected behavior
A sub issue should be created based on the inputs How To Post On Facebook Video
Baby Read Aloud Books Screenshots New Product Launch PPT Icon
Credit Cards No International Fees Additional context
Trying to create sub issues based off an issue template and hitting this error Scientific Article Format