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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,296 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot