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

Creation of users from the creation of the issue




3 answers

1 accepted

0 votes
Answer accepted

No, there's no function that could create a user from a form.

The closest you could get is a listener or post-function that could take a healthy guess at a user account to set up, bypass the "needs to be admin" security and adds one based on the issue being submitted, but that would require code that you can't add to Cloud.

Okay thansk. could you please give me furhter explanations about the listeners and post-funtions?

do i need to edit my workflow to set up a post-function? but which one do i have to choose?



A listener listens for events, like "transition" or "create" and can then do things based on the information it gets from that event. A post function runs when an issue goes through a workflow transition, and post functions are mainly for making automatic changes to data. So, yes, you'd edit a workflow to use them. However, I can't tell you which post-function to choose. It won't work. You need to find or write code for a "create user" post function, as JIRA does not have one. But, you cannot install that on Cloud. So you can't do it.

Hi, i don't have Cloud so I understand it's possible to create a script. Would it be possible to write a script for a "create user" post function via script runner? thanks

Ah, ok, you've removed the cloud tag :-) Yes, it's absolutely possible to write a "create user" script in SR. I've not done it since JIRA moved to using (internal) Crowd for users though, so I don't have any code to hand.

Is there a way to create users from the creation of the issue. Indeed, I added a user picker custom field in the issue creation form. I would like to know if it is possible to create a user from this form (via a link for example) if I realize the user I'm looking for does not exist yet. The goal is to avoid to cancel the issue being created. Thanks for your answer


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Service Desk

Tell us how you've implemented Change Management

Hello Community 👋, I'm a product manager at Atlassian, looking at improving change management capabilities across our products. In particular, we're looking at bridging the gap between Dev & ...

1,389 views 5 14
Join discussion

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