Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Minor formatting modification


...

Panel
titleColor#FFFFFF
titleBGColor#6c809a
titlecom.easesolutions.jira.plugins.requirements/1.0/setsuspect/projectId

Set a suspect.

Expand
titleClick here for details...

REQUEST

Panel
bgColor#f6f5f5

PUT
com.easesolutions.jira.plugins.requirements/1.0/setsuspect/projectId


Sample request data JSON:

{

"issueSourceKey": "TEST-1",

"issueDestinationKey" "TEST-2",

"direction": "in",

"linkTypeId": 10000,

"suspect": true

}


issueSourceKey (string): The source's issue key

issueDestinationKey (string): The destination's issue key

direction (string): in/out/in-out

linkTypeId (long): -1(All), 10000(Blocks), 10001(Clones), 10002(Duplicate) and/or 10003(Relates)

suspect (boolean): is a suspect




PARAMETERS

parametertypedescription
projectId*longThe project's ID to be used
dataobjectThe JSON object of suspect data. Please refer above for the example and properties definition.



RESPONSE

Expand
titleClick to view response types...


ResponseDetails

Status
colourGreen
titleSTATUS 200

Returned on successful operation.

Status
colourRed
titleSTATUS 400

Returned when project is null.

Project is invalid or hasn't been assigned to the Requirements for JIRA plugin

Returned when either suspect data's srcKey and destKey are null.
Returned on failed operation.




...