How to write a Transition to change assignment by project role?

I would like to create a transition in my workflow that will change the assignment to a specific project role and notify the assignee of the new issue.

I have followed all the written information on how to do this and have created a workflow with an appropriate post function in the transition but the assignment does not occur.

The role has been defined and there is only one person in the role.

Here is the post function list:

  1. Assign the issue to the default user from the Design Lead role .
  2. Set issue status to the linked status of the destination workflow step.
  3. Add a comment to an issue if one is entered during a transition.
  4. Update change history for an issue and store the issue in the database.
  5. Re-index an issue to keep indexes in sync with the database.
  6. Fire a Generic Event event that can be processed by the listeners.

Thanks for any help you can send my way!

2 answers

1 accepted

Accepted Answer
0 votes

Solution was to move the role assignment to the project level. This was an overlooked step.

0 votes

Does the person performing the transition have the right to set the assignee?

What do your logs say?

Hi Nic,

Thanks for helping out.

Yes, the person has the rights to set an assignee. It can be done manually as well but I need this to be automated.

We are using OnDemand and have not been able to access any kind of log (or console). I would love to see what is actually happening so if you know how to get to the logs using OnDemand that would also be a big help.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,968 views 2 7
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