JJUPIN - assign values to an issue after creating inside SIL-script fails

Hi,

I'm using the JJUPIN Add-in for JIRA to automatically creating some tasks when creating a new epic.

Therefore I wrote a SIL-script for the 'Post Function' of the Creation-Transition of my Epic-Workflow.

string newTaskKey = createIssue(project, "", "Task", "Summary for the new task");
%newTaskKey%.description = "Description for the new task";
%newTaskKey%.priority = priority;
%newTaskKey%.#{Epic Link} = key;

The script works fine, but only the first time.

If I create a second epic I'm getting always the error:

Error creating issue: Exception while executing SIL program >>myscriptname<<

In the log-file I found the line:

FATAL, line 2: [SIL Error on line: 2, column: 17] Field >>newTaskKey<< cannot be matched against a standard field, a custom field or an alias. What is it? [.]

And the last strange behavior is: When I open the SIL Programs Manager in the Add-ons area of the JIRA-Administration, navigate to my script and click the button Save, the next execution of my script works again, but the second one fails.

I hope anybody can help me, that the script always works.

Christian

3 answers

1 accepted

This widget could not be displayed.

Hi Christian,

 

I am guessing that you have JJupin 3.0.3 and caching enabled. We have identified a bug and we're already testing the fix as we speak. Expect a release today or tomorrow for this issue. JJupin 3.0.4 is out, you can use the SIL caching again, the problem was fixed.

 

Regards,

Silviu

This widget could not be displayed.

Hi Silviu,

that was fast.

Yes, I'm using JJupin 3.0.3 and caching is enabled.

A fix today or tomorrow sounds really good smile.

 

I'm looking forward,

Christian

Hi Christian, I just wanted to let you know that the 3.0.4 version is out, please upgrade and let us know if everything is back to normal.

This widget could not be displayed.

Hi Silviu,

I tested the new Version 3.0.4 and it works perfect.

Thanks

Christian

I am glad that everything is working as expected. It might be helpful for the rest of SIL users having the same problem to see my answer as a reference for their problem. An upvote will probably be enough.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

155 views 2 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you