"Assign to current user" Post-function doesnt work in some cases

I tried to configure following scenario:

-User (developer) creates an issue in GreenHopper Scrum backlog

-Jira automatically assigns the issue to current user - the creator in this case

For this:

-I turned OFF unassigned issues

-Added to Create transition of business-process Assign to current user Post-function - at the end of Post-functions list.

Jira assigns automatically issue to creator and allows to create issue unless he don't fills Components field. When he fills Components, Jira disallows creation with error User have not Assignable permission or Unassigned is disabled.

1 answer

1 accepted

This widget could not be displayed.

You've probably set up a component lead. Usually if the assignee is set to "Automatic" and the component is set to "Standard component lead" issues are bein assigned to the component lead. Maybe the component lead doesn't have the "assignable users" permission. I'd guess that JIRA first tries to assign the issue to component lead, and fails before even trying to fire your post function...

yeah additionally to what christian said you may want to use permission helper

Maybe that's the thing... Default assignee is "Unassigned" but you turned OFF unassigned issues...

All components are unassigned for Default Assignee.

I used Permission helper and it says, that user have Assign Issues and Assignable User permissions for specified issue and project.

can you post the postfunctions from that transition please?

this confuses me:

-Added to Create transition of business-process Assign to current user Post-function - at the end of Post-functions list.

i don't think you can add a postfunction to the end of this list. otherwise it will bypass the function

"Re-index an issue to keep indexes in sync with the database"

which is almost at the end...the last postfunction is

"Fire a <some name here> event that can be processed by the listeners."

what christian says sounds logical to me :)

if you want to keep this you should at least set the default assignee to Project-Lead and update the components to use the same

Yep! You're right! I changed unassigned for each component to Project Lead by default and it works.

Thank you!

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

78 views 0 0
View post

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