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

Add attachments to an issue #97

Open
chiara79 opened this issue Feb 6, 2015 · 1 comment
Open

Add attachments to an issue #97

chiara79 opened this issue Feb 6, 2015 · 1 comment

Comments

@chiara79
Copy link

chiara79 commented Feb 6, 2015

Can I add attachments to an issue? I tried a method inside the library but could not find anything :(

@ProZachJ
Copy link

ProZachJ commented Feb 6, 2015

I'll just leave this here...

https://github.com/jenjinstudios/jira-connector

var jira = new JiraClient( {
    host: 'your.jira.host',
    auth: {
        username: 'SirUserOfName',
        password: 'Password123'
    }
});


jira.issue.addAttachment({
    issueKey: 'JWR-19',
    filename: attachmentFileName
}, function(error, issue) {
    console.log(issue.fields.summary);
});

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

No branches or pull requests

2 participants