You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have a very simple code trying to create a test issue, i'm sure of the project key and the issue type.
i'm using jira 7.1.4 and power scripts 4.0.6
My code : runnerLog("before ");
string DestinatairesG = createIssue("KYC","","6","test creation", "", "myKYC" , {}, "", "", "", "");
runnerLog("after :"+DestinatairesG);
runnerLog("display :"+%DestinatairesG%.summary);
my error:
Exception while executing SIL program >>testsil<<: [SIL Error on line: 7, column: 23] [SIL Error on line: 7, column: 39] Field >><< cannot be matched against a standard field, a custom field or an alias. What is it?
Why do you have "6" in the third field of the createIssue call. Usually that would be the name of the issue type. Is your issue type named "6"?
I think your issue isn't getting created. The createIssue call will still run but return nothing if the issue couldn't be created, You may see something in your logs like
2019-11-20 15:53:42,658 pool-71-thread-3 ERROR ALaden 633x9281x1 btw0k 172.18.70.34,172.19.52.39 /rest/keplerrominfo/refapp/latest/async-script/checkScript [c.k.j.c.i.routines.issue.CreateIssueRoutine] Cannot save new issue; error was com.keplerrominfo.jira.commons.hostapp.JiraOperationException: Cannot save new issue; error was com.keplerrominfo.jira.commons.hostapp.JiraOperationException: No such issueType >>6<< for project >>KYC<<
So you should check the value of the returned string and make sure it is not empty before you try to de-reference it.
{Comment deleted for being incorrect.}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.