Create new issue on specific kanban column? using API V2

lucasrabaca September 16, 2019

Hi, i'dlike to create a new issue using the API on a specific custom column in a board, first checking if the column exists, then creating the column if not.

 

With the current parameters it only creates in the first column (Inbox).

issue_dict = {'project': {'id': id},

'issuetype': {'id': issue_type},

'summary': title, 'description': desc, }

 

In the docs   i can't find the correct parameter.

1 answer

1 accepted

0 votes
Answer accepted
robert Mugabuhamye
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.
September 16, 2019

hello @lucasrabaca .

On creation, the issue will always be in the first status of your workflow. Even if you create it from the API.

What you are looking for is the fast-track mechanism:

 

  1. you create a transition between the first status and the destination
  2. you can add a condition to make it invisible to your users
  3. then after the creation using the API, you also do a transition, using this newly created transition.

 

Regards

Suggest an answer

Log in or Sign up to answer