It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I debug a transition flow?

Michael Apr 17, 2014

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
Nic Brough [Adaptavist] Community Leader Apr 17, 2014

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?

Michael Apr 17, 2014

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.

0 votes
Ahmed Bilal Apr 17, 2014

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,449 views 6 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you