Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How could I set custom field for test plan when I create it?

Hello!

I use tm4j v6.7.2 and I want to create TestPlan with custom fields.

But when I try add smth there (in creation request) - server answers that

The custom field <field name> was not found.

 Also I have tried fields mentioned in documentation https://support.smartbear.com/tm4j-server/api-docs/v1/

like

// Simple request, using only required fields
{
  "projectKey": "JQA",
  "name": "Plan for a new version"
}

// Simple request, using custom fields
{
  "projectKey": "JQA",
  "name": "Plan for a new version",
  "customFields": {
    "single choice": "Propulsion engines",
    "multichoice": "Brazil, England",
    "checkbox": "false",
    "datepicker": "2017-03-02T16:15:00.000Z",
    "decimal number": 12.12,
    "number": 100,
    "multi line text": "<h1>Plan for a new version</h1><p>Ignite the secondary propulsion engines</p>",
    "single line": "Ignite the secondary propulsion engines"
  }
}

// Full request
{
  "projectKey": "JQA",
  "name": "Plan for a new version",
  "objective": "The objective.",
  "folder": "/Orbiter/Cargo Bay",
  "status": "Approved",
  "owner": "vitor.pelizza",
  "labels": ["Smoke", "Functional"],
  "issueLinks": ["JQA-123", "JQA-456"],
  "testRunKeys": ["JQA-R123", "JQA-R456"],
  "customFields": {
    "single choice": "Propulsion engines",
    "multichoice": "Brazil, England"
  },
}
 

 

So, How could I set custom field during testplan creation (or after)? 

May be anyone knows how to "mark" testplan? I need smth like labels 

1 answer

Hi Dana,

We recommend moving this question and tagging SmartBear on it as Adaptavist no longer owns Test Management for Jira. Learn more.

Please direct your TM4J Server/DC queries to tm4j-server-support@smartbear.com or TM4J Cloud queries to tm4j-cloud-support@smartbear.com. You can also visit their general support portal

Kind regards,

Katy

Adaptavist Product Support 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

83 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you