com.atlassian.jira.issue.fields.rest.FieldHtmlFactory |
![]() |
@Internal
or @PublicApi
.
Helper factory to get a list of all the fields required for create, edit and creating subtasks.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a list of fields on the create screen as specified by the newIssueObject skeleton (it contains the
project and issue type context) including the project and issue type fields.
| |||||||||||
Returns all the edit fields required for the specified issue object.
| |||||||||||
Returns all edit fields applicable for inline editing.
| |||||||||||
Returns a list of fields on the create screen as specified by the newIssueObject skeleton (it contains the
project and issue type context) including the project, issue type and issue links fields.
| |||||||||||
This essentially returns the same as the #getCreateFields(com.atlassian.crowd.embedded.api.User,
com.atlassian.jira.issue.customfields.OperationContext, webwork.action.Action,
com.atlassian.jira.issue.MutableIssue, boolean, java.util.List) method but it strips out certain fields such as
the project selector.
|
Returns a list of fields on the create screen as specified by the newIssueObject skeleton (it contains the project and issue type context) including the project and issue type fields.
user | the remote user |
---|---|
operationContext | holding context information about the action |
action | the webwork action performing this operation |
newIssueObject | skeleton issue object |
retainValues | If we should keep all the field values when switching from full back to quick edit |
fieldsToRetain | List of fields to retain when creating multiple issues in a row |
FieldHtmlBean
s
Returns all the edit fields required for the specified issue object. This also includes a comment field if the user has permission to add comments.
user | the remote user |
---|---|
operationContext | holding context information about the action |
action | the webwork action performing this operation |
issue | the issue being edited. Used to populate the field values. |
retainValues | If we should keep all the field values when switching from full back to quick edit |
FieldHtmlBean
s
Returns all edit fields applicable for inline editing. That is edit fields and non-empty custom fields. This also includes a comment field if the user has permission to add comments.
user | the remote user |
---|---|
operationContext | holding context information about the action |
action | the webwork action performing this operation |
issue | the issue being edited. Used to populate the field values. |
retainValues | If we should keep all the field values when switching from full back to quick edit |
FieldHtmlBean
s
Returns a list of fields on the create screen as specified by the newIssueObject skeleton (it contains the project and issue type context) including the project, issue type and issue links fields. This also includes Summary and Description fields even if they are not configured on create screen. Those fields will be prefilled by the corresponding values pulled from the source issue The issue links field will be prefilled by a link to the source issue
user | the remote user |
---|---|
operationContext | holding context information about the action |
action | the webwork action performing this operation |
newIssueObject | skeleton issue object |
sourceIssue | the issue to get field values to prefill the returned fields |
retainValues | If we should keep all the field values when switching from full back to quick edit |
fieldsToRetain | List of fields to retain when creating multiple issues in a row |
FieldHtmlBean
s
This essentially returns the same as the #getCreateFields(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.issue.customfields.OperationContext, webwork.action.Action, com.atlassian.jira.issue.MutableIssue, boolean, java.util.List) method but it strips out certain fields such as the project selector.
user | the remote user |
---|---|
operationContext | holding context information about the action |
action | the webwork action performing this operation |
newIssueObject | skeleton issue object |
retainValues | If we should keep all the field values when switching from full back to quick edit |
fieldsToRetain | List of fields to retain when creating multiple issues in a row |
FieldHtmlBean
s