Info |
---|
This page focuses on the following use case. Up to version 5.0, the metadata of a project was displayed by using “JIRA Metadata - View project metadata field“ at some Jira issues. You want to change it to “Text Field (single line)” in your role as Jira Administrator. |
...
Search for all issues to which existing metadata should be transferred.
In the url there is a parameter jql remember/copy this parameter.
Identify the Id of the newly created field. In our example it is customfield_10510
Invoke the following URL
YOUR_SERVER_URL/rest/metadata/1.0/admin/copyProjectMetadata?metadataKey=SAP%20cost%20center&max=100&fieldId=customfield_10510&jql=THE_COPIED_JQL
e.g. YOUR_SERVER_URL/rest/metadata/1.0/admin/copyProjectMetadata?metadataKey=SAP%20cost%20center&max=100&fieldId=customfield_10510&jql=project%20%3D%20"Test%20Core%20Std%20Fields"%20AND%20"SAP%20cost%20center"%20is%20EMPTY
...