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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.