cannot find it in the docs... "null" is not a valid keyword in SIL:
I'd like to create an issue using a
createIssue(projectKey, parentIssueKey, issueType, summary, priority, description, components, due date, estimate, security_level, field_mappings)
signature, but leave due_date and estimate blank
string newKey = createIssue(
project,
"",
"Bug",
summary,
priority,
description,
components,
null, /* dueDate */
null, /* interval */
"",
{}
);
re: https://confluence.cprime.io/display/SIL/createIssue
I am aware of a simpler method signature, but it requires setting fields after an issue is created - resulting in at least 2 entries in issue history
possible?
Hi Andrei - instead of passing null (null), you should be able to pass an empty string ("").
nice... it works.
i could swear i tried this and got errors before...
smth like:
Expected parameter list to match any of [[STRING, STRING, STRING, STRING], [STRING, STRING, STRING, STRING, STRING, STRING, STRING[], DATE, INTERVAL, STRING, STRING[]]]
but we got ... parameters
thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline 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.