Hide in Others
Goal : Allows to hide some Fields from all others Field Configuration excepted a part of them.
Usage : As soon as you had a new Customfield in your JIRA instance, it is added systematically in all Field Configuration. This default behaviour is not the most expected one. In practice, if this field has a default value (it is more frequent for types Select, Radiobutton and Checkbox), this value willbe store in database, even if it has no sense for the most of Issue Type managed in your JIRA instance.
By using this APIs, you can remove/hide the concerned Field in all other Field Configuration.
API | /rest/extendedAdmin/1.0/fields/hideInOthers | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Method | POST | ||||||||||||
Payload | Schema
Samples {"fieldLayoutIds":["10200","10201"],"fieldIds":["customfield_10400"]} {"fieldLayoutIds":["10200"],"fieldIds":["customfield_10400"]} {"fieldLayoutId":10200,"fieldIds":["customfield_10400"]} | ||||||||||||
Return Code | 200 : All changes performed without issue. 500 : 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 | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Method | GET | |||||||||
Parameters |
| |||||||||
Return Code | 200 : All changes performed without issue. 500 : Changes failed. | |||||||||
Return | Not yet documented ... |
Hide All
Goal : Allows to hide all Fields from the current Field Configuration.
Usage : To crearte a new Field Configuration, you can :
- Create a new one from scratch. It will include all fields
- Copy from another one. It will include the same fields
In most of cases, you should not need all of these fields.
API | /rest/extendedAdmin/1.0/fields/hideAll | ||||||
---|---|---|---|---|---|---|---|
Method | GET | ||||||
Parameters |
| ||||||
Return Code | 200 : All changes performed without issue. 500 : Changes failed. | ||||||
Return | Not yet documented ... |