Why aren't workflow statuses updated with triggers?

Our JIRA OnDemand instance is configured to display development updates from GitHub. This works (with some delay) and we've been using it succesfully for at least six months.

I recently discovered Triggers: https://confluence.atlassian.com/display/JIRA/Advanced+workflow+configuration

I updated two of our workflow status transitions such that tickets should transition to In Progress on branch creation and get Resolved when the branch is merged. As far as I can tell, everything is correctly configured (per the directions on Confluence).

However, nothing happens when my teammates branch or merge. Interestingly, the tickets still update with GitHub status(es). I have re-synced our repos and everything--no luck. The tickets correctly indicate that changes have been MERGED but workflow transitions never happen (we waited about a day and a half before concluding that it wasn't working).

I haven't been able to find any documentation on this. :/

4 answers

This widget could not be displayed.

Hi Nicki,

From your description it sounds like you have everything set up correctly. I'd double-check that the workflow you've configured is associated with the correct project and then raise a ticket at https://support.atlassian.comif you're still seeing problems.

Please reply here letting us know what the problem turns out to be, so other users might benefit from the fix :)

cheers,

Tim

This widget could not be displayed.

So interestingly enough, while I was procrastinating on looking into this... one item unexpectedly transitioned.

It appears that the triggers only fire in response to activity against master, where most of our work is happening in the develop branch. Branches created off, commits against, and merges back into develop are displayed under Development modules but do not trigger workflow changes.

Merges against master do trigger workflow changes. I'm now trying to determine whether this is configurable.

This widget could not be displayed.

Hmmm.. that is interesting. I've been poring through the code and I can't immediately see why it would be excluding updates to branches other than master. I'll ping the dev team responsible for the new workflow triggers to see if they can shed any light on the issue.

If this is critical though, I'd recommend raising an issue at https://support.atlassian.com as they'll respond much quicker.

This widget could not be displayed.

Hi Nicki,

From what you described, you might be affected by https://jira.atlassian.com/browse/DCON-448, especially if you see error msg "Error during sync. See server logs" on the DVCS Accounts page. But this affects only pull requests, which would affect the "branch is merged" trigger. It should not affect the branch created trigger.

If you are only seeing delays of up to one hour in the triggers, then it could be due to https://jira.atlassian.com/browse/DCON-453. You could try the workaround.

When you say "re-synced", do you mean clicking on the sync icon on the DVCS Accounts page for the corresponding repository? If you do a full sync, which is done by holding the Shift key and clicking on the sync icon, then any events generated will not cause the trigger to fire. So be sure to just do a normal sync without using the Shift key.

A tip on troubleshooting is to look at the History tab of the issue. Sometimes, multiple triggers might be fired at the same time and cause the issue to go back and forth between two statuses, especially if you use global transitions in the workflow.

Cheers,

Zehua

  1. I have seen "Error during sync" although not consistently and only for one repository. I will see if today's (?) update resolves this
  2. The delays are permanent... the triggers aren't ever firing
  3. I meant clicking on the sync icon (without holding Shift)
  4. History is not updating--there is no indication that tickets have been moved back-and-forth between statuses

Thanks!

Nicki

FYI - The update did not resolve this. Triggers are still not firing.

Hi Nicki,

Could you raise a support ticket at https://support.atlassian.com, as what Tim suggested above?

Cheers,

Zehua

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
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

555 views 25 15
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