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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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

Suggest an answer

Log in or Sign up to answer
0 votes
Katy Kelly
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Sep 28, 2020

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 

TAGS
AUG Leaders

Atlassian Community Events