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

Create Issue returns null reference #38

Open
mhagesfeld opened this issue Feb 14, 2017 · 3 comments
Open

Create Issue returns null reference #38

mhagesfeld opened this issue Feb 14, 2017 · 3 comments

Comments

@mhagesfeld
Copy link

Trying to add a basic issue to a project, I get a Null Reference. I have tried it with copying the issue fields from an existing issue, and same problem.

This is the code, and the login works and the project is fetched:

var project = jira.GetProject("CONNECT2");
            var issueType = new Jira.SDK.Domain.IssueType(10100, "Feedback");
            var issueFields = new Jira.SDK.Domain.IssueFields
            {
                Summary = "Site Feedback",
                Description = model.FeedbackText,
                IssueType = issueType
            };
            
            project.CreateIssue(issueFields);
@Narmdo
Copy link

Narmdo commented Feb 24, 2018

Is there a resolution to this? I am having the same issue. Minimal setup, null reference from within Jira.SDK.JiraClient.AddIssue(IssueFields issueFields)

@SalmanZafar214
Copy link

i have the same issue :(

@satch159
Copy link

I have the same problem. any idea ?
i think the issuetype selection is the problem ?

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

4 participants