Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(info) To get an API token, go to Settings → Apps → STAGIL Assets → API tokens → Create API Token.

...

Advanced Links

Method:

Status
colourBlueGreen
titleGET

API call: https://apps.stagil.com/sajc/rest/saj/1.0/api/assets/issueLink/issue/:issueIdOrKey

...

Method:

Status
colourGreenBlue
titlePost

API call: https://apps.stagil.com/sajc/rest/saj/1.0/api/assets/issueLink/issue/:issueIdOrKey/customField/:customFieldId

...

API call: https://apps.stagil.com/sajc/rest/saj/1.0/api/assets/issueLink/customField/:customFieldId/issue/:issueIdOrKey/linkedIssue/:linkedIssueIdOrKey"

Issue Filters

Panel context: GET Projects in field context

Method:

Status
colourGreen
titleGet

Description: returns project IDs from the Issue Filter Panel.

Code Block
https//apps.stagil.com/sajc/rest/saj/1.0/api/assets/context/customField/:customFieldId/project

Parameter: customFieldId

Expand
titleStatus 200
Code Block
[
    {
        "contextId": "60",
        "contextName": "All Projects:All Issue Types",
        "projectIds": [
            "-1"
        ]
    }
]

Panel context: add new projects to the context

Method:

Status
colourBlue
titlePost

Description: updates the project list in the field context

Code Block
https://apps.stagil.com/sajc/rest/saj/1.0/api/assets/context/:contextId/customField/:customFieldId/project

Parameter: customFieldId, contextId

Expand
titleBody
Code Block
// list of project IDs 
[
            "10000",
            "10001",
            "10002",
            "10003",
            "10292"
        ]

Database synchronisation

Trigger SQL database synchronisation

...

Expand
titleParameters

{id} - database synchroniser ID

Parameters

Advanced Links

instanceName: Your Jira Cloud instance name (part of URL before the \".atlassian.net\" and after the \"https://\")

...

linkedIssueIdOrKey: Id or key of the linked issue.

Issue Filters

customFieldID

contextID

Postman Collection

View file
nameSAJC-rest-api-release.postman_collection.json

...