Skip to content
Snippets Groups Projects

Preselected milestone and assignee while create new issue

Created by: AlexDenisov

Solution for #1199 (closed).

Pre-selected labels is not implemented (yet?), but it works fine with milestone and/or assignee.

Does anybody need this feature? If yes, then I could implement this, but later.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
37 37 end
38 38
39 39 def new
40 @issue = @project.issues.new
  • Created by: dzaporozhets

    I think it will be better to use @project.issues.new(params[:issue]) instead of next strings. Just use issue[milestone_id]=3 format when update issue url

    By Administrator on 2012-09-07T17:59:48 (imported from GitLab project)

    By Administrator on 2012-09-07T17:59:48 (imported from GitLab)

  • gitlab-qa-bot
  • 37 37 end
    38 38
    39 39 def new
    40 @issue = @project.issues.new
    • Created by: AlexDenisov

      Oh, that's simple and obvious solution :)

      By Administrator on 2012-09-07T17:59:48 (imported from GitLab project)

      By Administrator on 2012-09-07T17:59:48 (imported from GitLab)

  • Created by: dzaporozhets

    thank you :)

    By Administrator on 2012-09-07T18:10:38 (imported from GitLab project)

    By Administrator on 2012-09-07T18:10:38 (imported from GitLab)

  • Please register or sign in to reply
    Loading