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

Christian Schemmer March 26, 2015

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

1 vote
Answer accepted
Silviu Burcea
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 26, 2015

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

0 votes
Christian Schemmer March 29, 2015

Hi Silviu,

I tested the new Version 3.0.4 and it works perfect.

Thanks

Christian

Silviu Burcea
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2015

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.

0 votes
Christian Schemmer March 26, 2015

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

Silviu Burcea
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 27, 2015

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.

Suggest an answer

Log in or Sign up to answer