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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Published in Jira Service Management

Atlympic Event: Jira Service Managemnt

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

141 views 0 3
Read article

Community Events

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

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you