Examples of Issue


Examples of com.melitronic.domain.entity.Issue

    ig.setProduct(product);
    ig.setNextId(prevItemGroup.getId());
    product.getItemGroup().add(ig);
    PmDeployment.instance().persist(ig, em, context);
   
      Issue issue = new Issue();  
      issue.setSummary("Issue 5.1");
      issue.setEffort(new Integer(4));
      issue.setItemKey("P1-9");
      cal = GregorianCalendar.getInstance();
      cal.setTimeInMillis(System.currentTimeMillis() + (2*24*60*60*1000));
      issue.setDueDate(cal);
      issue.setDescription("isisisisisisisis");
      issue.setItemType(ItemType.BUG);
      issue.setPriority(IssuePriority.CRITICAL);
      issue.setResolution(IssueResolution.FIXED);
      //issue.setNextId(prevItem.getId());
      issue.setItemGroup(ig);
      ig.getItem().add(issue);
      PmDeployment.instance().persist(issue, em, context);

        Action action = new Action();
        action.setActionType(ActionType.STATUS_CHANGED);
        action.setActionStatus(ItemActionStatus.CLOSED);
        action.setItem(issue);
        PmDeployment.instance().persist(action, em, context);
       
   
      Issue prevIssue = issue;
      issue = new Issue();  
      issue.setSummary("Issue 5.2 - 09:10:52,515 INFO  [SessionSpecContainer]");
      issue.setEffort(new Integer(1));
      issue.setItemKey("P1-8");
      cal = GregorianCalendar.getInstance();
      cal.setTimeInMillis(System.currentTimeMillis() + (1*24*60*60*1000));
      issue.setDueDate(cal);
      issue.setDescription("09:10:52,515 INFO  [SessionSpecContainer] Starting jboss.j2ee:ear=melitronicRM.ear,jar=rmDom.jar,name=DmProduct,service=EJB3\n09:10:52,531 INFO  [EJBContainer] STARTED EJB: com.melitronic.domain.product.DmProduct ejbName: DmProduct");
      issue.setItemType(ItemType.IMPROVEMENT);
      issue.setPriority(IssuePriority.MEDIUM);
      issue.setResolution(IssueResolution.UNRESOLVED);
      issue.setNextId(prevIssue.getId());
      issue.setItemGroup(ig);
      ig.getItem().add(issue);
      PmDeployment.instance().persist(issue, em, context);
     
        action = new Action();
View Full Code Here

Examples of com.melitronic.rmapp.model.Issue

  public void selectedNewResolution(ActionEvent event) {
    if (getSelectedIssue() != null && ((Issue)getSelectedIssue()).getId() != null &&
      ((Issue)getSelectedIssue()).getResolution() != null  &&
      getUC().getOriginalIssue() != null &&
      !((Issue)getSelectedIssue()).getResolution().equals(getUC().getOriginalIssue().getResolution()) ) {
      Issue issue = getUC().getOriginalIssue();
      issue.setResolution(((Issue)getSelectedIssue()).getResolution());
      getUC().selectedItemUpdate(issue);
    }
  }
View Full Code Here

Examples of com.publicobject.issuesbrowser.Issue

            }
            throw new IllegalStateException();
        }

        public Object getColumnValue(Object baseObject, int column) {
            Issue issue = (Issue)baseObject;
            switch(column) {
                case 0: return issue.getId();
                case 1: return issue.getIssueType();
                case 2: return issue.getPriority();
                case 3: return issue.getStatus();
                case 4: return issue.getResolution();
                case 5: return issue.getShortDescription();
            }
            throw new IllegalStateException();
        }
View Full Code Here

Examples of com.taskadapter.redmineapi.bean.Issue

    @Test
    public void testGetIssues() {
        try {
            // create at least 1 issue
            Issue issueToCreate = IssueFactory.createWithSubject("testGetIssues: " + new Date());
            Issue newIssue = issueManager.createIssue(projectKey, issueToCreate);

            List<Issue> issues = issueManager.getIssues(projectKey, null);
            assertTrue(issues.size() > 0);
            boolean found = false;
            for (Issue issue : issues) {
                if (issue.getId().equals(newIssue.getId())) {
                    found = true;
                    break;
                }
            }
            if (!found) {
View Full Code Here

Examples of models.Issue

    @With(AnonymousCheckAction.class)
    @IsAllowed(Operation.READ)
    public static Result vote(String ownerName, String projectName, Long issueNumber) {

        Project project = Project.findByOwnerAndProjectName(ownerName, projectName);
        Issue issue = Issue.findByNumber(project, issueNumber);

        issue.addVoter(UserApp.currentUser());

        Call call = routes.IssueApp.issue(ownerName, projectName, issueNumber);

        return redirect(call);
    }
View Full Code Here

Examples of net.continuumsecurity.model.Issue

    public void removeFalsePositives(ExamplesTable falsePositivesTable) {
        for (Map<String,String> row : falsePositivesTable.getRows()) {
            Integer pluginId = Integer.parseInt(row.get("PluginID"));
            String hostname = row.get("Hostname");

            Issue issue = issues.get(pluginId);
            if (issue != null) {
                issue.getHosts().remove(hostname);
                if (issue.getHosts().size() == 0) {
                    issues.remove(pluginId);
                }
            }
        }
    }
View Full Code Here

Examples of net.sf.redmine_mylyn.api.model.Issue

    monitor.beginTask(Messages.PROGRESS_FETCH_ISSUE, 1);

    String uri = String.format(URL_ISSUE, id);
    GetMethod method = new GetMethod(uri);
   
    Issue issue = executeMethod(method, issueParser, monitor);

    if(monitor.isCanceled()) {
      throw new OperationCanceledException();
    } else {
      monitor.worked(1);
View Full Code Here

Examples of nl.topicus.onderwijs.dashboard.datatypes.Issue

      IMCSession session = new MCSession(new URL(url), username, password);
      for (int curProject : projectIds) {
        for (IIssueHeader curIssue : session.getIssueHeaders(
            curProject, filter, 10)) {
          if (IssueStatus.get(curIssue.getStatus()) == IssueStatus.NEW)
            issues.add(new Issue(project, curIssue));
        }
      }
      return issues;
    } catch (MalformedURLException e) {
      log.error("Unable to refresh data from mantis: {} {}", e.getClass()
View Full Code Here

Examples of org.apache.maven.plugin.issues.Issue

    /** The username for authentication into a private Trac installation. */
    private String tracUser;

    private Issue createIssue( Object[] ticketObj )
    {
        Issue issue = new Issue();

        issue.setId( String.valueOf( ticketObj[0] ) );

        issue.setLink( getUrl() + "/ticket/" + String.valueOf( ticketObj[0] ) );

        issue.setCreated( parseDate( String.valueOf( ticketObj[1] ) ) );

        issue.setUpdated( parseDate( String.valueOf( ticketObj[2] ) ) );

        Map attributes = (Map) ticketObj[3];

        issue.setType( (String) attributes.get( "type" ) );

        issue.setSummary( (String) attributes.get( "summary" ) );

        issue.setStatus( (String) attributes.get( "status" ) );

        issue.setResolution( (String) attributes.get( "resolution" ) );

        issue.setAssignee( (String) attributes.get( "owner" ) );

        issue.addFixVersion( (String) attributes.get( "milestone" ) );

        issue.setPriority( (String) attributes.get( "priority" ) );

        issue.setReporter( (String) attributes.get( "reporter" ) );

        issue.addComponent( (String) attributes.get( "component" ) );

        return issue;
    }
View Full Code Here

Examples of org.eclipse.egit.github.core.Issue

  private String report() throws IOException {
    IssueService issueService = new IssueService();
    issueService.getClient().setOAuth2Token(oathToken);
    RepositoryService repoService = new RepositoryService();
    repoService.getClient().setOAuth2Token(oathToken);
    Issue createdIssue = issueService.createIssue(repoService.getRepository(username, repo), createNewIssue());
    return createdIssue.getHtmlUrl();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.