Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,730
Community Members
 
Community Events
176
Community Groups

Customize Jira collector using HTML/JS?

I have been trying to find some details on this and I have been having a lot of trouble.  Currently I am using the jira collector and I have the javascript implemented on a confluence page and all of that is working beautifully.  I even have the user name and email address populating the correct fields automatically once you view the collector.

However I am trying to do something like this:
https://blog.developer.atlassian.com/totw-adapting-the-issue-collector/

However, this does not work and is messy.  I am hoping to add some custom JS to hide the name and email fields all together.  I cant seem to find out how to do this.  We also have scriptrunner, but I cant seem to get script runner to do what I want either.  Anyone have any ideas or know of any good resources for this sort of thing?

1 answer

0 votes
Brant Schroeder Community Leader Sep 08, 2022

@ICANSEEYOU7867 Are you trying to edit the issue collectors JS that is passed from the server or add additional JS that overrides the JS coming from the Jira server?

The second.  I have the auto populate fields working great 

I posted the solution here.

https://community.atlassian.com/t5/Jira-questions/Auto-populate-name-email-in-jira-issue-collector/qaq-p/960149?utm_source=atlcomm&utm_medium=email&utm_campaign=kudos_comment&utm_content=topic

I was wanting to hide the fields that have the user's name/email since these should already be auto populated via my posted js in the link. I think I could just inject this via script runner now, but it's been a while since I've taken a look into it.

Its been a while since I've looked into this, I need to go back and remember where I left off 

Suggest an answer

Log in or Sign up to answer