I want to pass default values for the issue collector form depending upon currently logged in user details. EX. if Niraj is logged into my product and when he tries to open an issue collector form then his name will be automatically added in the name field of the form.
I found the documentation for setting up a default values for any fields from the index.html file but those values are permanent it means I can't set different values for the different users.
THANKS in advance!! Let me know if anyone faced a similar problem and able to find the required workarounds.
Welcome to the Atlassian Community!
Per your description, I understand you would like to automatically set some fields in the issue based on the user that is being selected in the issue creation when using the issue collector. Is that correct?
I believe the easy way to achieve that would be to use Jira automation. These would be the steps:
Let us know if that works.
I guess you have misunderstood the issue. Let me explain the use case again.
I am using an issue collector inside my product UI, which is a SAAS product and we are using an issue collector to get a feedback/raise a bug from our product itself from our customers. For that, I want to pass an information of the user(ex. Name and email Id of the customer) who is giving a feedback/raising a bug, So that we can have an idea about which of our customer has raised a bug/gave us a feedback.
I have found a documentation for the similar use case, where I can pass a predefined values along with other details while using an issue collector BUT those values remains fixed always, I can't make these values variables and modify it depending upon the user who is logged in to out product UI.
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