Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

lscm list changesets json incorrect - current state not correct

I'm finding that the json output when listing changesets is incorrect. The JSON output does not show the current changeset which is "_97TFkJ2IEeSYhp-7gLI07Q" below.

C:\Users\Administrator\Documents\MATLAB5>lscm status
Workspace: (1200) "Shell" <-> (1200) "Shell"
  Component: (1238) "C1"
    Baseline: (1249) 2 "version 1"
    Unresolved:
      -c- /C1/test2.txt
    Outgoing:
      Change sets:
        (1270) ----@  "Changeset11" 08-Jan-2015 03:01 PM
        (1272) -*--@  "<No comment>" 16-Jan-2015 11:31 AM

C:\Users\Administrator\Documents\MATLAB5>lscm list changesets -j -w 1200
{
    "changes": [
        {
            "author": "Rational",
            "comment": "<No comment>",
            "modified": "16-Jan-2015 11:31 AM",
            "state": {
                "active": true,
                "complete": false,
                "conflict": false,
                "current": false,
                "current_merge_target": false,
                "has_source": false,
                "is_linked": false,
                "is_source": false,
                "potential_conflict": false
            },
            "url": "https:\/\/amrrtcserver:9444\/jazz\/",
            "uuid": "_97TFkJ2IEeSYhp-7gLI07Q"
        },
        {
            "author": "Rational",
            "comment": "Changeset22",
            "modified": "16-Jan-2015 09:00 AM",
            "state": {
                "active": false,
                "complete": true,
                "conflict": false,
                "current": false,
                "current_merge_target": false,
                "has_source": false,
                "is_linked": false,
                "is_source": false,
                "potential_conflict": false
            },
            "url": "https:\/\/amrrtcserver:9444\/jazz\/",
            "uuid": "_VbPosJdxEeSooonDFCX1Rg"
        },
        {
            "author": "Rational",
            "comment": "Changeset11",
            "modified": "08-Jan-2015 03:01 PM",
            "state": {
                "active": true,
                "complete": false,
                "conflict": false,
                "current": false,
                "current_merge_target": false,
                "has_source": false,
                "is_linked": false,
                "is_source": false,
                "potential_conflict": false
            },
            "url": "https:\/\/amrrtcserver:9444\/jazz\/",
            "uuid": "_MYkuUJdxEeSooonDFCX1Rg"
        },

0 votes

Comments

I'm quite confused with your post. The JSON output clearly contains "_97TFkJ2IEeSYhp-7gLI07Q". So what's exactly wrong?

The changeset is listed, however the JSON is incorrect as it shows the Key "current" as being false.



One answer

Permanent link
Stephen has opened a work item for this bug: scm list changesets - JSON output incorrect (342925)

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,019
× 1,202
× 158

Question asked: Jan 17 '15, 6:50 a.m.

Question was seen: 4,536 times

Last updated: Jan 20 '15, 2:45 p.m.

Confirmation Cancel Confirm