Adding Custom Fields While Creating Jira Issues

Is it possible to add Custom field as well while creating issue?

In our organization, Environment is mandatory field, without filling the information, we can not create a bug.

Adding Error Response:

{
    "error": {
        "status": 400,
        "name": "badRequest",
        "message": "Unable to create jira issue: Request failed with status code 400",
        "detail": "{\"postmanUserId\":\"***********\",\"jiraUserId\":\"*********\",\"postmanTeamId\":\"*******\",\"hasMissedRequiredFields\":true,\"missedFields\":[\"customfield_10212\"],\"missedFieldsDisplayNames\":[\"environment\"]}",
        "instance": ""
    }
}

Hey @jyotiag-tae :waving_hand:

What’s the structure of the request?

Have you tried adding a level of validation to a pre-request script to check that the required properties have been added before making the request?

Hello @danny-dainton,

I am trying to use New JIRA Cloud Integration. Not sure if I can add any pre-request script here

Thank for providing the extra context, without that I assumed you were just making a request with Postman to the JIRA API, rather than using that feature.

This is the reason I posted the comment under Postman Drop about JIRA Integration, My bad I did not explain it clearly though

When it’s about a particular issue, it’s best to create a seperate one to capture all the relevant details, including the API or feature you are working with.

As that’s a new feature, I don’t think it has those extra capabilities just yet, I will need to speak to the team to confirm though.

1 Like