string project = "JD";
string issue_parent_Key = "Hey";
string issue_priority;//Possible values: "Major", "Critical" etc.
string issue_description;
string[] issue_components;
string issue_security_level;
string[] custom_fields_mapping;
issue_priority = "Medium";
issue_description = "Description of the issue";
issue_components = "My Data"; //an array containing all the components of the current project
issue_security_level = "Administrator";
custom_fields_mapping = "";
string k = createIssue(
project,
issue_parent_Key,
"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.");
linkIssue(k, issue_parent_Key, "Relates");
Hello,
Is it Jira Cloud or Server? What error do you have?
Could you give us the full error you are seeing? "unable to create issue" could be all sorts of things.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
string issue_parent_Key = "Hey";
It should be a key like Hey-1
And this issue should exist.
Go to SIL manager and see the logs with the Load Logs button for errors
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.