Hi
i am currently building an app using forge.I want to create an issue in jira using product rest api.
i tried using the payload given in forge rest api documentation but i am getting 400 bad request
errors: {
parent: 'Could not find issue by id or key.',
components: "Field 'components' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_20000: "Field 'customfield_20000' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_40000: "Field 'customfield_40000' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_70000: "Field 'customfield_70000' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_10000: "Field 'customfield_10000' cannot be set. It is not on the appropriate screen, or unknown.",
fixVersions: "Field 'fixVersions' cannot be set. It is not on the appropriate screen, or unknown.",
priority: "Field 'priority' cannot be set. It is not on the appropriate screen, or unknown.",
timetracking: "Field 'timetracking' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_30000: "Field 'customfield_30000' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_80000: "Field 'customfield_80000' cannot be set. It is not on the appropriate screen, or unknown.",
environment: "Field 'environment' cannot be set. It is not on the appropriate screen, or unknown.",
security: "Field 'security' cannot be set. It is not on the appropriate screen, or unknown.",
versions: "Field 'versions' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_60000: "Field 'customfield_60000' cannot be set. It is not on the appropriate screen, or unknown.",
duedate: "Field 'duedate' cannot be set. It is not on the appropriate screen, or unknown.",
customfield_50000: "Field 'customfield_50000' cannot be set. It is not on the appropriate screen, or unknown."
}
can anyone help me in this to create a issue using product rest api in forge app with proper payload including issue type,summary,description,attachment etc..
thanks in advance
Recommended Learning For You
Level up your skills with Atlassian learning
Learning Path
Become an effective Jira admin
Manage global settings and shared configurations called schemes to achieve goals more quickly.
Streamline Jira administration with effective governance
Improve how you administer and maintain Jira and minimize clutter for users and administrators.
Learning Path
Become an effective Jira software project admin
Set up software projects and configure tools and agile boards to meet your team's needs.