Skip to content
This repository has been archived by the owner on Jul 16, 2019. It is now read-only.
ktoso edited this page May 7, 2011 · 4 revisions

Issues

An issue is an external link, to some bugtracker etc, which is related to this task.

Create an Issue

Issue issue = janbanery.issues().of(task)
                                .create(testIssue)
                                .get();

Query for issues

Issue fetchedIssue = janbanery.issues().of(task)
                                       .byId(createdTasksId) // issue flow here
                                       .get();

Mark an Issue as resolved

IssueFlow issueFlow = issuesFlow.create(new Issue("http://jira.project13.pl/task/324345"));

Issue issue = issueFlow.mark().asResolved()
                       .mark().asNotResolved()
                       .get();

Update an issue

IssueFlow issueFlow = issuesFlow.create(new Issue("http://jira.project13.pl/task/324345"));

Issue issue = issueFlow.update()
                       .url("http://jira.project13.pl/tasks/345345345")
                       .get();

Delete an Issue

janbanery.issues().delete(issue);

or, if you have an issue flow:

issueFlow.delete();
Clone this wiki locally