/
createIssue
createIssue
Description
Creates an issue based on the provided arguments.
Parameters
Return Type
String
The key of the created issue
Example
string issue_priority;//Possible values: "Major", "Critical" etc.
string issue_description;
string[] issue_components;
string issue_security_level;
string[] custom_fields_mapping;
issue_priority = "Critical";
issue_description = "Description of the issue";
issue_components = components; //an array containing all the components of the current project
issue_security_level = "Administrator";
custom_fields_mapping = "STDUP|fmanaila|STDGP|jira-users";
string k = createIssue(
"PROJECT",
"PRJ-300",
"Sub-task",
"Summary of the sub task" ,
issue_priority,
issue_description,
issue_components,
currentDate() + "30d",
issue_security_level,
custom_fields_mapping
);
print ("On the project " + project + ", issue " + k + "is created.");
Will create an Improvement with no components and the assignee set for user with the username "someUserName".
See also
Peacock
, multiple selections available,
Related content
createIssue
createIssue
More like this
Get started
Get started
Read with this
getIssueFields
getIssueFields
More like this
getIssueFields
getIssueFields
More like this
issueTypesForProject
issueTypesForProject
More like this
issueTypesForProject
issueTypesForProject
More like this
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.