Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Customize Jira collector using HTML/JS?

ICANSEEYOU7867
Contributor
May 25, 2022

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 Champion
September 8, 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?

ICANSEEYOU7867
Contributor
September 8, 2022

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
TAGS
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events