Skip to content

allow check and copy for other users - #36

Merged
individual-it merged 1 commit into
mainfrom
otherUserCheckCopy
Nov 17, 2026
Merged

individual-it merged 1 commit into
mainfrom
otherUserCheckCopy

Conversation

@individual-it

Copy link
Copy Markdown
Member

This is on top of #35, so only review the last commit

With this PR it is finally possible to check and alter the t-metric entries of other users (if t-metric permissions given).
Additionally, it is possible to copy those entries to Jira.
Note:
if userA copies entries from t-metric to jira of userB, they will be shown in jira in the name of userA. But the jira entry will have a properties section identifying the original tmetric user.

    "properties": [
      {
        "key": "tmetric",
        "value": {
          "userdisplayname": "userB",
          "userid": 123
        }
      }
    ]

see https://github.com/JankariTech/OpenProjectTmetricIntegration/blob/main/jira/worklog.go#L64-L70
This entry is not visible in the jira UI, but is used e.g. by the diff command to pull the worklogs for the correct user

@individual-it
individual-it requested a balanced review from Copilot November 16, 2026 09:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@PrajwolAmatya

Copy link
Copy Markdown
Member

Tested. check, copy and diff for other user in jira works as expected.

I think we need to first merge this #35 first.

@ishabaral ishabaral left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍🏼

@individual-it
individual-it merged commit bf49774 into main Nov 17, 2026
2 checks passed
@individual-it
individual-it deleted the otherUserCheckCopy branch November 17, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants