Rally - WSAPI: Not authorized to create error when using API to create work items
search cancel

Rally - WSAPI: Not authorized to create error when using API to create work items

book

Article ID: 200208

calendar_today

Updated On:

Products

CA Agile Central SaaS (Rally) Rally Saas CA Agile Central On Premise (Rally) Rally Perpetual Hosted

Issue/Introduction

When trying to create a work item in Rally using the API, the following error is seen in the response body:

Not authorized to create: <Work Item Type>

 

Cause

This can be caused by trying to create a work item type within a project to which the user has no access.

Resolution

The ways to resolve this are

  • Change the integration to use a user ID with appropriate permissions
  • Modify the permissions of the current user to include the project where the work item is being created
  • Create the work item in a different project that the user does have access to

 

Additional Information

Keywords: HierarchicalRequirement, Defect, PortfolioItem/Feature, TestCase