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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

60 views 0 5
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