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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

970 views 2 14
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