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

"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

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
TAGS
Community showcase
Published in Next-gen

Keyboard shortcuts have arrived for next-gen projects!

...ollected feedback from users around the lack of shortcuts, and we’re here to address that: In next-gen projects, I miss the keyboard shortcuts badly. This is particularly true on the Board, but also i...

102 views 0 1
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