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

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

0 vote

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
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...

78 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