Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Alkaes JIRA Plugin Field Administration Enhanced provides some additional capabilities related modification of Field Configuration.

Hide in Others

Goal : Allows to hide some Fields from all others Field Configuration excepted a part of them.

...

By using this APIs, you can remove/hide the concerned Field in all other Field Configuration.

API/rest/extendedAdmin/1.0/fields/hideInOthers
MethodPOST
Payload

Schema

PropertyValueDescription
fieldLayoutIdLongId of FieldLayout (Field Configuration) where the identified Fields have to be kept.
fieldLayoutIdsList<Long>List of Ids of FieldLayouts (Field Configurations) where the identified Fields have to be kept.
fieldIdsList<String> List of Ids of Custom Fields that have to be kept in identified FieldLayout(s)

Samples

Code Block
languagegroovy
{"fieldLayoutIds":["10200","10201"],"fieldIds":["customfield_10400"]}


Code Block
languagegroovy
{"fieldLayoutIds":["10200"],"fieldIds":["customfield_10400"]}


Code Block
languagegroovy
{"fieldLayoutId":10200,"fieldIds":["customfield_10400"]}


Return Code

Status
colourGreen
title200
: All changes performed without issue.

Status
colourRed
title500
: Changes failed.

Return

There is no special return provided, since this request can meet some Timeout. All needed details are traced in log files


Hide Field in Other

Goal : Allows to hide some Field from all others Field Configurations excepted the current.

Usage :  See above.

API/rest/extendedAdmin/1.0/fields/hideFieldInOther
MethodGET
Parameters


PropertyValueDescription
fieldLayoutIdLongId of FieldLayout (Field Configuration) where the identified Fields have to be kept.
fieldIdStringId of Custom Fields that have to be kept in identified FieldLayout(s)


Return Code

Status
colourGreen
title200
: All changes performed without issue.

Status
colourRed
title500
: Changes failed.

Return

Not yet documented ...


Hide All

Goal : Allows to hide all Fields from the current Field Configuration.

...

In most of cases, you should not need all of these fields.

API/rest/extendedAdmin/1.0/fields/hideAll
MethodGET
Parameters


PropertyValueDescription
fieldLayoutIdLongId of FieldLayout (Field Configuration) where the identified Fields have to be kept.


Return Code

Status
colourGreen
title200
: All changes performed without issue.

Status
colourRed
title500
: Changes failed.

Return

Not yet documented ...