Company Managed Project created via API

Matt Holdgate November 19, 2021

Hi there,

we are trying to create projects via the API from our Salesforce instance and are running into an issue that it is creating the projects as Team Managed. We ideally want the projects created to be Company Managed so they use the Issue Types, Workflow Scheme etc which we have already set in the JSON body below:

{
    "key": "{Opportunity.Account.Account_Acronym__c}",
    "name": "{OpportunityName}",
    "projectTypeKey": "software",
    "projectTemplateKey": "com.pyxis.greenhopper.jira:gh-simplified-agility-scrum",
    "description": "JIRA Project for {AccountName} against {OpportunityName} opportunity",
    "url": "https://triggdigital.atlassian.net",
    "leadAccountId": "###",
    "assigneeType": "UNASSIGNED",
    "issueTypeScreenSchemeId": 10023,
    "issueTypeSchemeId": 10256,
    "workflowSchemeId": 10129
}

 Is it this line in the JSON? "projectTemplateKey": "com.pyxis.greenhopper.jira:gh-simplified-agility-scrum",

or something else we need to set in the body to make the projects company managed?

 

Thanks in advance

1 answer

1 accepted

1 vote
Answer accepted
Gaurav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 19, 2021

Hello @Matt Holdgate 

Welcome to the community!!

While you are using a valid Project Template Key, but as per my understanding, it is key for Team managed project. I would suggest you replace the key with the one mentioned below.

com.pyxis.greenhopper.jira:gh-simplified-scrum-classic

The work classic indicates the Company-managed project.

The detailed documentation for the API can be referenced here.

Kindly accept the answer if this helps.

 

Matt Holdgate November 19, 2021

Thanks Gaurav!!!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events