We want a custom field of type Select List called "Hot Potato". The idea is:
Admittedly we could move the ticket from Team A's JIRA project to Team B's JIRA project but in the past that's resulted in tickets being lost in the system because the ticket languishes on Team B's board.
In addition, by setting this custom field, both Team A and Team B can use Quick Filters and Swimlanes to track these Hot Potato issues – both from Team A's perspective (what have we delegated to others) and Team B's perspective (what have others delegated to us)
This Hot Potato field MUST be optional because if it's required, the JIRA / Crucible integration doesn't work nicely; a required Select List prevents Crucible from creating subtasks in JIRA within Crucible reviews (it breaks the link API and generated sub-tasks end up without a parent ticket). This is a known Crucible/JIRA integration issue.
But by making Hot Potato optional, then if the Hot Potato value is empty, the Hot Potato field is not displayed in Issue View. This is a known JIRA limitation.
We want the Hot Potato custom Select List field to be not only displayed and changeable in Issue View if it has a value (which it does out of the box already), but also displayed and changeable in Issue View if it's empty (show "None" in this situation).
In addition, Hot Potato should be searchable like any other custom Select list field in Issue Navigator; start typing "Hot Potato =" and a suggested list of options displays below it.
Here's the question:
How do we create such a field?
Is this something we can do in ScriptRunner?
Or are we creating a custom plugin which extends the SelectList class, something along the lines of this: https://developer.atlassian.com/jiradev/jira-platform/fields/tutorial-custom-fields-in-JIRA or https://developer.atlassian.com/jiradev/jira-platform/fields/tutorial-creating-a-custom-field-type
Thanks in advance for your help,
PS: in case anyone was considering offering it as a suggestion, removing "None" from all Select Lists is not an option.
PS#2: Could we simply modify one of the .vm files, such as:./atlassian-jira/WEB-INF/classes/templates/plugins/fields/view/view-select.vm ?
That file has the following code:
Could we modify it to something along the lines of...
Editor’s note: The Welcome Center is a great place to learn how best to navigate the Atlassian Community. “My question is SO basic. I don’t feel comfortable asking it here.” “I don’t have nearl...
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