Hi,
I am trying to create a new JIRA issue with reporter and assignee values. I have checked permissions and both reporter and assignee have appropriate permissions on JIRA project.
However when Issue gets created, reporter and assignee is set to service account which I am using to connect to JIRA.
In JIRA assignee is on create and edit form but reporter is not. Followig is my test code. . .
RemoteIssue issue = newRemoteIssue
();<font></font>
issue.summary =
<font></font>
"Test Issue " + DateTime
.Now.ToString();
//issue.priority = "P3 - Low";
<font></font>
issue.project =
<font></font>
"CRMTEST"
;
////"Documentation Bug" : 40
<font></font>
issue.type =
<font></font>
"93"
;<font></font>
issue.assignee =
<font></font>
"10134"
;<font></font>
issue.reporter =
<font></font>
"10134"
;<font></font>
issue.customFieldValues =
<font></font>
newRemoteCustomFieldValue
[10];<font></font>
issue.customFieldValues[0] =
<font></font>
newRemoteCustomFieldValue() { customfieldId = "customfield_11405", values = newstring[] { "Acer"
} };<font></font>
issue.customFieldValues[1] =
<font></font>
newRemoteCustomFieldValue() { customfieldId = "customfield_11400", values = newstring[] { "ADFDF"
} };<font></font>
issue.customFieldValues[2] =
<font></font>
newRemoteCustomFieldValue() { customfieldId = "customfield_11374", values = newstring[] { "uSD"
} };<font></font>
issue.customFieldValues[3] =
<font></font>
newRemoteCustomFieldValue() { customfieldId = "customfield_11376", values = newstring[] { "Field"
} };<font></font>
issue.customFieldValues[4] =
<font></font>
newRemoteCustomFieldValue() { customfieldId = "customfield_11408", values = newstring[] { "19nm X2"
} };<font></font>
issue.customFieldValues[5] =
<font></font>
newRemoteCustomFieldValue() { customfieldId = "customfield_11372", values = newstring[] { "HDD not working"
} };<font></font>
issue.customFieldValues[6] =
<font></font>
newRemoteCustomFieldValue() { customfieldId = "customfield_11370", values = newstring[] { "Japan"
} };<font></font>
issue.customFieldValues[7] =
<font></font>
newRemoteCustomFieldValue() { customfieldId = "customfield_11441", values = newstring[] { "Yes"
} };
//customfield_11441
<font></font>
issue.customFieldValues[8] =
<font></font>
newRemoteCustomFieldValue
();<font></font>
issue.customFieldValues[8].customfieldId =
<font></font>
"customfield_11480"
;
//issue.customFieldValues[8].key = null;
<font></font>
issue.customFieldValues[8].values =
<font></font>
newstring[] { "18170"
};<font></font>
issue.customFieldValues[9] =
<font></font>
newRemoteCustomFieldValue
();<font></font>
issue.customFieldValues[9].customfieldId =
<font></font>
"customfield_11480:1"
;
//issue.customFieldValues[9].key = "1";
<font></font>
issue.customFieldValues[9].values =
<font></font>
newstring[] { "18190"
};