Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,296,649
Community Members
 
Community Events
165
Community Groups

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
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

327 views 0 10
Join discussion

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