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,460,389
Community Members
 
Community Events
176
Community Groups

Can I delete the reason field or block edit fields on the issue collector window pop-up?

I'm trying to use Issue Collector to integrate my HTML. I use javascript to use the function button and custom Issue Collector. I use "fieldValues" to predefined information to submit to Jira. (User doesn't do anything. except click submit)

1. Can I remove "reason field" pop-up? I can't remove it. I think it is a mandatory field from the Issue Collector.

2. Block to edit when Issue Collector pop-up. I can't block to edit data from the console. It has a way to block via Javascript or any?

3. Can I auto-submit when the user clicks the button to open Issue Collector?

I follow this link. https://support.atlassian.com/jira-cloud-administration/docs/customize-the-jira-issue-collector/

 

Sample code follow example

<script type="text/javascript">window.ATL_JQ_PAGE_PROPS = {
"triggerFunction": function(showCollectorDialog) {
//Requries that jQuery is available!
jQuery("#UseCaseButton2").click(function(e) {
e.preventDefault();
showCollectorDialog();
});
},
fieldValues: {
summary : 'Issue-Title',
description : 'Issue-Description',
}};</script>

1 answer

0 votes

Hello @Ratree Wongsuwan,

Welcome to Atlassian Community!

Testing the issue collector here using a simple configuration with no javascript customization, didn’t show a Reason field, so I wonder if this is a required field on your project. 

When creating a ticket directly from Jira, does it show that this field is required as well?

Block to edit when Issue Collector pop-up. I can't block to edit data from the console. It has a way to block via Javascript or any?

Searching for similar cases and also on our documentation, doesn’t mention about block the fields from being edited. What can be done is to set default values and set the fields to be hidden.

Can I auto-submit when the user clicks the button to open Issue Collector?

On our documentation, it doesn’t mention anything about auto-submit functionality, so I’m afraid to say that it won’t be possible. 

With this said, since you need a more customized form, I would suggest you build your own form using REST API. 

There is also this tutorial that might help:

Also, in case you need help with development questions, we have our developer community: https://community.developer.atlassian.com/

Kind regards,
Angélica

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events