Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

enable to create an issue

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?

2 answers

{Comment deleted for being incorrect.}

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, /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. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

218 views 0 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you