How do I debug a transition flow?

How do I debug a post function workflow in OnDemand?

When I hit a button to "approve" an issue, it fires off the post functions but then I cannot see the issue (as the Administrator). I have permissions to the project, etc, but those single issues are no longer appearing for me at all.

My post functions are:

  1. Set issue status to the linked status of the destination workflow step.
  2. Add a comment to an issue if one is entered during a transition.
  3. Update change history for an issue and store the issue in the database.
  4. If user is a member of the Administrators role, set issue security level to Users.
  5. Assign the issue to the lead developer.
  6. Re-index an issue to keep indexes in sync with the database.
  7. Fire a Generic Event event that can be processed by the listeners.

I think it could be #4, but I cant confirm. Although I am in the Administrators issue security and the Users, I cant see the issue anymore.

How do I access issues I cant see as the Admin?

2 answers

0 votes

I also suspect step 4. I have a very strong feeling that although you think you're a user who matches the security levels, that is not the way it is set up.

What, exactly, does your permission scheme say for "browse"? And what are the details of your security levels?

I have tried Permission browser, but it will not let me enter in the issue I am trying to check. It doesnt appear in the dropdown and when I manually enter it, says to select an issue (as if the one I am trying to access doesnt exist or i dont have permissions for it).

When I try to access the issue itself, it says permission violation.

I've added adminstrators and even my user account specifically to browse, but it doesnt change the permission error.

When I use Permission Helper on the project side, it says I am in the security level and have full access.

I've also reindexed.

If I take step 4 out of the post functions it works, but really, I need to be able to shift the Issue Security and I was trying to avoid having to do it manually every time.

Use permission helpler in admin to check why you are not able to browse issue.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Jira

Updates to give you visibility into what's coming in Jira Server and Data Center

Hello, Community! My name is Gosia and I'm a Product Manager on Jira Server and Data Center here at Atlassian. Since 2002 when we launched our public issue tracker, jira.atlass...

322 views 1 12
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