Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

How to make field mandatory only in issue collector

 

Hello,

 

I am trying to make a field mandatory in just the issue collector. My use-case is that I have several select lists, all of them on the creation screen of an issue, but not mandatory in the creation screen of Jira, as only one of them needs to be mandatory, representing the BU from which a product comes from. 

We have one issue collector for each BU, so the issue collector specific for each BU contains just the select list people need to fill in.

Issue collector:

 

<script type="text/javascript">
window.ATL_JQ_PAGE_PROPS = $.extend(window.ATL_JQ_PAGE_PROPS, {
'c367e8cb' : {
triggerFunction: function( showCollectorDialog ) {
$('.c1').on('click', function(e){
e.preventDefault();
showCollectorDialog();
});
triggerFunction: function check_empty() {
if (document.getElementById('BU.X.AffectedProduct').value == "") {
alert("Please fill in the BU.X.AffectedProduct !");}}
}
}

 

This does not work, but also does not throw any errors. I can go ahead and submit the issue collector without receiving the "Please fill in the BU.X.AffectedProduct" message.

Please let me know your thoughts.

Thank you.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

⚡️NEW Group for Confluence Cloud Admins

Calling all Confluence Cloud Admins!  We created a new Community Group to support your unique needs as Confluence admins. This is a group where you can ask questions, access resou...

97 views 2 8
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