Creation of users from the creation of the issue

Hi,

 

 

3 answers

1 accepted

0 vote

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?

Thanks

melissa

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
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 Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

781 views 5 7
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