issue status does not move to next level

I have workflow event where issue moves to next status however when user does below steps it remains same -

Update assignee and do not click "correct" tick mark button

Directly click workflow button

I have 5-6 groovy scripts, those gets called on workflow event -

@Override    

void workflowEvent(IssueEvent event) {

and status does not move to next level.

 

If I remove all the groovy script it goes to next level, not sure what to do.

Groovy script does not throw any error.

1st groovy script logs - next / update status however 2nd groovy script logs old status.

1 answer

0 vote

I'm sorry, it's not clear what is happening here.  I think by "move to next level", you mean you need the status to change, but beyond that, I get a bit lost.

I assume you've got groovy-scripted "Listeners" to pick up certain events, but what events are they listening for and what are they supposed to do?  And what are they failing to do and when?

Here are some more details - workflow event groovy script edits issue summary when any workflow event and issue get updated when user tried to change fields like priority, assignee, label , component where we need to click "correct tick mark" button, sometime user does not click there and not on the page also User directly click on workflow button e.g "Ready to Support" and value in assignee is not committed yet. On workflow event click, status remains same instead of changing to next. However when user changes assignee and after that change performs workflow event then status navigate to next whatever it is. In this case there are 3 fields changing at a time and casing issue - status change, assignee and summary

I'm sorry, I really do not understand what you are doing or expecting here. You've started talking about editing the summary, which you've not mentioned before. I understand "when user changes a field", but "sometime user does not click there and not on the page also" makes no sense at all. Clicking on workflow button has nothing to do with assignee, so I don't understand that, and the rest of it makes no sense to me. You've not explained the scripts at all, or what you are trying to do with them.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

243 views 1 18
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