DATA CENTER AND SERVER | CLOUD

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

POST

com.easesolutions.jira.plugins.requirements/1.0/projects/enable/prjKey

Enable a project in Requirements
POST

com.easesolutions.jira.plugins.requirements/1.0/projects/disable/prjKey

Disable a project in Requirements
PUTcom.easesolutions.jira.plugins.requirements/1.0/prjKey/suspectconfiguration
Trigger saving a suspect configuration.


com.easesolutions.jira.plugins.requirements/1.0/projects/enable/prjKey

Enable a project in Requirements.

 Click here for details...
REQUEST
POST

/rest/com.easesolutions.jira.plugins.requirements/1.0/projects/enable/prjKey



PARAMETERS
parametertypedescription
prjKey*stringThe project key of the project to be enabled.



RESPONSES

STATUS 200 - Returned if the project is successfully enabled

Example response
{ 
	"prjKey": "SC", 
	"prjName": "Sand Castle", 
	"issueCount": 34, 
	"success": true 
}

STATUS 400 - Returned if the project is invalid or an error occurs while activating the project

STATUS 401 - Returned if invalid user credentials, or the user has no permission

STATUS 403 - Returned if the license is invalid or has expired, or incompatible JIRA version


com.easesolutions.jira.plugins.requirements/1.0/projects/disable/prjKey

Disable a project in Requirements.

 Click here for details...
REQUEST
POST

/rest/com.easesolutions.jira.plugins.requirements/1.0/projects/disable/prjKey



PARAMETERS
parametertypedescription
prjKey*stringThe project key of the project to be disabled.



RESPONSES

STATUS 200 - Returned if the project is sucessfully disabled

Example Response
{
  "prjKey": "SC",
  "prjName": "Sand Castle",
  "issueCount": 34,
  "success": true
}

STATUS 400 - Returned if the project is invalid or an error occurs while disabling the project

STATUS 401 - Returned if invalid user credentials, or the user has no permission

STATUS 403 - Returned if the license is invalid or has expired, or incompatible JIRA version


com.easesolutions.jira.plugins.requirements/1.0/prjKey/suspectconfiguration

Trigger saving a suspect configuration.

 Click here for details...
REQUEST
PUT

All link type
/rest/com.easesolutions.jira.plugins.requirements/1.0/prjKey/suspectconfiguration?fieldList&useAllLinkTypes&scope&notifyAssignee&notifyReporter&notifyProjectLead&notifyUserList

By link type id
/rest/com.easesolutions.jira.plugins.requirements/1.0/prjKey/suspectconfiguration?fieldList&linkTypeIds&scope&notifyAssignee&notifyReporter&notifyProjectLead&notifyUserList



PARAMETERS
parametertypedescription
prjKey*stringThe project key to be configured.
fieldListstringThe list of fields. For custom fields, the custom field id must be provided.
useAllLinkTypesbooleantrue if all link types will be configured. Link type id param is ignored if set to true.
linkTypeIdsstringThe list of link type ids, separated by comma. Possible values are: -1 (ALL), 10000 (blocks), 10001 (clones), 10002 (duplicate) and/or 10003 (relates)
scopestringThe scope of the configuration (Valid values are either "down" or "both")
notifyAssigneeboolean
true if assignee should be notified, false or leave blank if otherwise
notifyReporterbooleantrue if reporter should be notified, false or leave blank if otherwise
notifyProjectLeadbooleantrue if project lead should be notified, false or leave blank if otherwise
notifyUserListstringThe list of users to be notified, separated by comma.



RESPONSES

STATUS 200 - Returned if suspect configuration is successfully udpated.

Example Response
Suspect Configuration saved for SC

STATUS 400 - Returned if the project is invalid, scope is invalid, link type id is invalid, list of users is invalid or contains an invalid user key, or list of fields is invalid or contains an invalid field

STATUS 401 - Returned if invalid user credentials, or the user has no permission to use the Requirements for JIRA plugin

STATUS 403 - Returned if the license is invalid or has expired, incompatible JIRA version, the project is not configured for Requirements for JIRA, or no permission to create suspect configuration

STATUS 404 - Returned if the project is not found

STATUS 500 - Returned if an error occurs while creating suspect configuration

  • No labels