davka
davka

Reputation: 14692

Jira API - how to ADD a custom field to an existing issue

Given a project and some issues in it, I want to create a new custom field and populate it for some issues.

I see that the editmeta api returns the list of fields that are already on the issue and can be edited (updated). But how do I edit the metadata itself?

(Motivation: we migrate from another tool and want to preserve some original data after the standard export/import is done)

Upvotes: 0

Views: 666

Answers (1)

CraZ
CraZ

Reputation: 1834

You will need to add new custom field(s) Jira administration. You cannot add new fields on-the-fly using common "edit issue" method.

If you are admin of whole Jira system, you can add it by yourself. If not, you will need to ask your Jira admin to do it. The new field must be also added to proper issue screens so that the field is available for editing (either from UI or from REST API).

See more here: https://confluence.atlassian.com/adminjiracloud/create-a-custom-field-991923727.html

Upvotes: 1

Related Questions