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

EWM Work Item in GitHub Pull Request

Was it an intentional design decision not to trigger linking when specifying an EWM work item id in a GitHub Pull Request title?


Entering a work item pattern in a Pull Request description (first comment) works as documented and expected. However for commit messages triggering happens when the work item pattern is either in the commit title or body.

EWM Version 7.0.2.

0 votes

Comments
I have a hard time understanding the last sentence and the use case. I am also not really fluent in Git and am unsure in which UI, if any, this use case happens. You might want to expand on the question and its background.

Note, that few people can comment on design decisions on this forum.

Pleas also be aware that the Jazz Community has provided some custom enhancements for the GIT integration: https://github.com/jazz-community

 Ok, let me try again. Perhaps I should just contact support. It wasn't my intent to burden this forum. If you feel this should be asked elsewhere, I will gladly do that.


The crux of the question is:

Should specifying a work item pattern in the title of a pull request trigger linking to an EWM work item?

As for the last sentence, git commit messages (by convention?) have a summary and a body. The reason I say "by convention?" is the help for the git commit "-m" option states that specifying muliple "-m"'s creates a new paragraph for each "-m". The first line (paragraph) is the summary (I have worked on some projects where they have a hook to limit the summary to 80 characters). Specifying a work item pattern in the summary or in a later paragraph of a commit message triggers linking.

Garret, no, I think this forum is the right place to ask, I just do not have the knowledge to understand and answer it. 



One answer

Permanent link

I can not comment about design decisions. But I would agree that this is inconsistent.

Another inconsistency is, that the set of supported patterns depends on what you intend to link - Commits or Pull Requests.

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
× 10,937
× 20

Question asked: Aug 04 '21, 3:47 p.m.

Question was seen: 1,226 times

Last updated: Aug 12 '21, 3:17 p.m.

Confirmation Cancel Confirm