How to disable IssueType field on Create Issue Screen?
jQuery('#issuetype-single-select input, #issuetype-single-select span').unbind()
You can't "disable issue type field". The issue type is mandatory, Jira cannot work without it. If you disable it, you won't be able to create ANY issues, which would make your Jira useless.
I think you need to explain the requirement in more detail, as it's not clear what you really mean.
oh, no disable,make READ-only I mean
Ok, I have 2 fields:
1. Afield - select list
2. Bfield - userpick, Bfield's value depends on Afield's value, and it's realized using external json service.
It works well, but this service doesn't work when I change issuetype on Create Issue Screen.
That's why I decided to make this field readonly.
Ok, but that still means you will only be able to create one issue type? If that's correct, then you can just change your issue type scheme so that there is only one issue type available and the issuetype field won't be able to change.
I suspect that's still not what you really want though - you really want to be debugging your code so that it works when the issue type is changed on the create screen. I think you need to explain what you've customised on the screen and how - that needs debugging, rather than trying to run off and fix it in a totally different way
Ok, then we can rule out using a single issue type.
So, we need to know what you've customised and where (removing the issue type selection is a bit of a pain, and very user-unfriendly, we should be fixing your code, not reducing functionality elsewhere)
I think you need to explain your requirement clearly. Reading from all the comments I just have a feeling you are trying to accomplish something simple.
You say you want to make the Issue Type selection read only, then why would you want to have 7 issue types?
If you want 7 Issue Types, what is the point making it read only?
You are trying to disable changing issue type selection because it is affecting your other two chained select custom fields that uses a json service?
I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs