Getting item lock status in activities REST API endpoint

Colin Marquardt
Colin Marquardt Member, Data Exchange Posts: 15

I am using the activities REST API endpoint (https://rest.jamasoftware.com/#endpoint_activities) with the date parameter to determine whether a local on-disk cache of a Jama project is still up to date with the Jama database.
This works well for "normal" item changes, but I now noticed that this API call doesn't count a changed lock status (https://rest.jamasoftware.com/#operation_getLock) as an activity, at least not by default.

Is there a way to still take the lock status into account? The documentation of the endpoint is lacking some information, but using the info in https://github.com/systelab/jama-api/blob/master/docs/ActivitiesApi.md#parameters, it doesn't look possible.

Any other suggestions?



------------------------------
Colin Marquardt
Bosch Sensortec GmbH
------------------------------

Comments

  • [Deleted User]
    [Deleted User] Posts: 152
    edited March 2023

    Hi Colin, 

    I've confirmed that a change in lock status is not included in the data captured by the Activities endpoint in the REST API currently. That said, if other users have determined a way to take the lock status into account, I hope they weigh in here!

    Please note that we're always open to looking at feature enhancement suggestions, and you're welcome to create an idea card through our Ideation module. Doing so would allow our Product team to learn more your usage case, as the Ideation module is specifically designed to facilitate conversations around the continual evolution of Jama Connect. Also, users can like and/or comment on any submitted card to reflect their support of that idea. Our feedback loop is outlined here: Product Ideation Process.

    ------------------------------
    Carly Rossi // she/her
    Community Manager // Jama Software
    Portland, OR
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 02-27-2023 02:34
    From: Colin Marquardt
    Subject: Getting item lock status in activities REST API endpoint

    I am using the activities REST API endpoint (https://rest.jamasoftware.com/#endpoint_activities) with the date parameter to determine whether a local on-disk cache of a Jama project is still up to date with the Jama database.
    This works well for "normal" item changes, but I now noticed that this API call doesn't count a changed lock status (https://rest.jamasoftware.com/#operation_getLock) as an activity, at least not by default.

    Is there a way to still take the lock status into account? The documentation of the endpoint is lacking some information, but using the info in https://github.com/systelab/jama-api/blob/master/docs/ActivitiesApi.md#parameters, it doesn't look possible.

    Any other suggestions?



    ------------------------------
    Colin Marquardt
    Bosch Sensortec GmbH
    ------------------------------

  • Colin Marquardt
    Colin Marquardt Member, Data Exchange Posts: 15
    edited March 2023

    Thanks, opened as https://community.jamasoftware.com/idea/include-item-lock-status-in-activities-rest-api-endpoint

    ------------------------------
    Colin Marquardt
    Bosch Sensortec GmbH
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 03-01-2023 19:21
    From: Carly Rossi
    Subject: Getting item lock status in activities REST API endpoint

    Hi Colin, 

    I've confirmed that a change in lock status is not included in the data captured by the Activities endpoint in the REST API currently. That said, if other users have determined a way to take the lock status into account, I hope they weigh in here!

    Please note that we're always open to looking at feature enhancement suggestions, and you're welcome to create an idea card through our Ideation module. Doing so would allow our Product team to learn more your usage case, as the Ideation module is specifically designed to facilitate conversations around the continual evolution of Jama Connect. Also, users can like and/or comment on any submitted card to reflect their support of that idea. Our feedback loop is outlined here: Product Ideation Process.

    ------------------------------
    Carly Rossi // she/her
    Community Manager // Jama Software
    Portland, OR
    ------------------------------

    Original Message:
    Sent: 02-27-2023 02:34
    From: Colin Marquardt
    Subject: Getting item lock status in activities REST API endpoint

    I am using the activities REST API endpoint (https://rest.jamasoftware.com/#endpoint_activities) with the date parameter to determine whether a local on-disk cache of a Jama project is still up to date with the Jama database.
    This works well for "normal" item changes, but I now noticed that this API call doesn't count a changed lock status (https://rest.jamasoftware.com/#operation_getLock) as an activity, at least not by default.

    Is there a way to still take the lock status into account? The documentation of the endpoint is lacking some information, but using the info in https://github.com/systelab/jama-api/blob/master/docs/ActivitiesApi.md#parameters, it doesn't look possible.

    Any other suggestions?



    ------------------------------
    Colin Marquardt
    Bosch Sensortec GmbH
    ------------------------------

  • [Deleted User]
    [Deleted User] Posts: 152
    edited March 2023

    Sure thing, and thank you!

    ------------------------------
    Carly Rossi // she/her
    Community Manager // Jama Software
    Portland, OR
    ------------------------------
    -------------------------------------------
    Original Message:
    Sent: 03-06-2023 01:32
    From: Colin Marquardt
    Subject: Getting item lock status in activities REST API endpoint

    Thanks, opened as https://community.jamasoftware.com/idea/include-item-lock-status-in-activities-rest-api-endpoint

    ------------------------------
    Colin Marquardt
    Bosch Sensortec GmbH
    ------------------------------

    Original Message:
    Sent: 03-01-2023 19:21
    From: Carly Rossi
    Subject: Getting item lock status in activities REST API endpoint

    Hi Colin, 

    I've confirmed that a change in lock status is not included in the data captured by the Activities endpoint in the REST API currently. That said, if other users have determined a way to take the lock status into account, I hope they weigh in here!

    Please note that we're always open to looking at feature enhancement suggestions, and you're welcome to create an idea card through our Ideation module. Doing so would allow our Product team to learn more your usage case, as the Ideation module is specifically designed to facilitate conversations around the continual evolution of Jama Connect. Also, users can like and/or comment on any submitted card to reflect their support of that idea. Our feedback loop is outlined here: Product Ideation Process.

    ------------------------------
    Carly Rossi // she/her
    Community Manager // Jama Software
    Portland, OR

    Original Message:
    Sent: 02-27-2023 02:34
    From: Colin Marquardt
    Subject: Getting item lock status in activities REST API endpoint

    I am using the activities REST API endpoint (https://rest.jamasoftware.com/#endpoint_activities) with the date parameter to determine whether a local on-disk cache of a Jama project is still up to date with the Jama database.
    This works well for "normal" item changes, but I now noticed that this API call doesn't count a changed lock status (https://rest.jamasoftware.com/#operation_getLock) as an activity, at least not by default.

    Is there a way to still take the lock status into account? The documentation of the endpoint is lacking some information, but using the info in https://github.com/systelab/jama-api/blob/master/docs/ActivitiesApi.md#parameters, it doesn't look possible.

    Any other suggestions?



    ------------------------------
    Colin Marquardt
    Bosch Sensortec GmbH
    ------------------------------