JQL of second script not returning results from first script

I have two scriptrunner script files.  I have two self referencing workflow transitions for each of them.

The first one clones a bunch of issues from a template project and then links them to the current issue.

The second one takes people from a grid and assigns the linked issues based on logic.

These both work when run separate, but when I add them both to the same workflow transition in sequence (clone issues, then assign issues) the assign issues JQL logic doesn't see any of the just cloned issues, so exits without doing anything.

In the first script, I am making sure that I update the indexer, and I've even pushed the last script to the end of the post function list..but still no go.

Is there some sort of temporary state that these newly cloned issues are in that the JQL in the second script can't find them?

0 answers

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
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

716 views 0 3
Read article

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