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

Accepted Answer
1 vote

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

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.

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,755 views 2 7
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