Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store work items as Jira issues #10

Open
romixch opened this issue Jul 21, 2015 · 2 comments
Open

Store work items as Jira issues #10

romixch opened this issue Jul 21, 2015 · 2 comments

Comments

@romixch
Copy link
Member

romixch commented Jul 21, 2015

No description provided.

@WtfJoke
Copy link
Member

WtfJoke commented Jul 27, 2015

What do you think about using the "official" JRJC or this RCARZ-JIRA-Client?

They both support most of the stuff, we probably are going to need (like linking issues, adding attachments and so on)

From what I see I preferr the JRJC (judging version 2.0.0-m2)

Here is a code-snippet:

    JiraRestClient restClient = factory.create(jiraServerUri,
        new BasicHttpAuthenticationHandler(settings.getJiraUser(), settings.getJiraPassword()));
    IssueRestClient issueClient = restClient.getIssueClient();
    Promise<Issue> issuePromise = issueClient.getIssue("WOR-2");
    Issue issue = issuePromise.get();
    Iterable<Attachment> attachments = issue.getAttachments();

Conclusion after some days: We can not use them, cause the apache libraries they use (httpcore/httpcore-nio) are used in an older version in the rtc java plain libs as well. And they are not compatible.

WtfJoke added a commit to WtfJoke/rtc2jira that referenced this issue Jul 29, 2015
WtfJoke added a commit to WtfJoke/rtc2jira that referenced this issue Jul 29, 2015
WtfJoke added a commit to WtfJoke/rtc2jira that referenced this issue Jul 30, 2015
WtfJoke added a commit to WtfJoke/rtc2jira that referenced this issue Jul 30, 2015
@WtfJoke
Copy link
Member

WtfJoke commented Jul 31, 2015

The issues getting now created in the jira repository.

Some open points:

  • Seems like number/id cannot be set (like in github)
  • Issuetypes list all issuetypes, even those who are not assigned to a project (issues cant be created if the assignment is not made for that project)
  • Issue description is not html and has a custom syntax

A useful reference over the rest api can be found here:
https://docs.atlassian.com/jira/REST/latest/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants