Can we have short cut to create link to jira tasks urls in confluence - confluence

Can we have any automated way to get the jira task urls link when we paste the same on confluence automatically like RT urls.?

Maybe not understood your question, but this is always working:
Have your JIRA and Confluence connected.
Copy an url of the JIRA task from JIRA.
Paste it into a Confluence page.
The link will be immediately replaced with JIRA-link:
On page save, JIRA link will be added to links section of the page:
Are you sure your JIRA and Confluence are linked and you — as a user — authorized them to access each other?
If you want to search, not to paste the link
After reading the header of the ticket, I realized that the question might be about search for JIRA-issue from Confluence, not about pasting it from clipboard.
The solution is then to use the "JIRA" macro. It works like this (I am describing the "keyboard-only" solution which I prefer and since you've asked about the shortcut):
Once again: note that your JIRA and Confluence have to be linked.
Type { (the macro-popup will open), then type jira and select JIRA macro (by pressing Enter).
"Insert JIRA Issue/Filter" window will pop up.
Type in your JIRA issue number and press Enter.
Wait for the search to complete.
Press Ctrl + Enter (or click on "Insert" button).
This link may also be helpful — https://community.atlassian.com/t5/Confluence-questions/Auto-link-JIRA-key-in-Confluence/qaq-p/120702.

Related

Azure DevOps - Wiki link in overview - how to forward to home page instead of new page form

When I go to Overview->Wiki I see a new doc form:
When I remove selected part of the URL (see selected URL on 1st photo) then I'm forwarded to home page:
How to set 2nd page as initial?
During my test, I was able to reproduce your issue.
In my wiki, usually I will be navigated to the Project Wiki, and when I enter the code wikis below, especially those that have nothing inside, like my "testwiki" below. I would also be trapped in the same loop as yours until I edit the url with "dev.azure.com/abc/xyz/_wiki/wikis/projectname.wiki".
So I tried the rest api to delete the empty wiki, and I am able to jump out of the loop by myself.
DELETE https://dev.azure.com/{organization}/{project}/_apis/wiki/wikis/{wikiIdentifier}?api-version=7.0

How can I link an issue when am I filling out a pull request form on GitHub?

There is a manual https://docs.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue
and I cannot complete the 4th step because I cannot find "Linked issues".
just write #issue number in pull request description to link the isuue
you can also write fixes #issue number closes #issue number to automatically close an issue when your pull request is accepted and merged
if you are the owner of the repository you can link an issue by clicking the setting icon in the Linked Issues on the right sidebar but if you are an outside contributor then you cant use it to change or link any issue you can only see which issues are linked

How do I reference a specific issue comment on github?

I'm trying to refer to a specific issue comment on github, in my readme. But I can't find any information on how to do that (here for example). I know that it's possible to link to issues, but is it possible to link to specific comments in that issue?
You can click on the date in the header of the comment to get a URL to the comment
For example, for issue https://github.com/centic9/jgit-cookbook/issues/5 one of the comments has the following link: https://github.com/centic9/jgit-cookbook/issues/5#issuecomment-51084491.
Simple method:
Every comment in github has header like below
[Commenter Name] commented on [x days ago]
Right click the date information i.e. [x days ago] and copy the link
Since August 2018, there is a more intuitive (and likely more reliable) way.
See "Copy the URL of a comment":
Previously, in order to grab a permalink to a comment within an issue or pull request, you’d need to copy the URL from a comment’s timestamp.
Now you can click Copy URL within the comment’s options menu to quickly copy the URL to your clipboard.
.
This works on commits in a Pull Request too:
https://github.com/moby/moby/pull/37558#discussion_r211356672 refers to:
And since February 2019, that works on mobile too!
Issue and pull request comment permalinks can now be copied on mobile devices, via the comment action menu.

Creating an RSS feed for Github Stars

Is there some way to get an RSS feed for one's github stars list?
I want to get it into Pinboard via IFTTT.
The current answer here gives the stars as JSON rather than RSS. Here's how I get my GitHub stars through the IFTTT RSS service:
Use the "New feed item matches" trigger
Enter your GitHub user RSS feed:
https://github.com/csu.atom
Set the "Keyword or simple phrase" that IFTTT will use to match items to:
[your username] starred
For example, my filter is set to csu starred (the word "starred" alone would probably work, but then the trigger might also fire on some false positives, like if a repository name or something else includes the word "starred").
Add whatever action you want to happen whenever this trigger fires. The link to the starred repository is in the {{EntryUrl}} variable and the title is in {{EntryTitle}}.
Your Github stars are available in JSON at a URL like this: https://api.github.com/users/username/starred (sub in your own username of course)
I found this Yahoo! Pipes thing to turn your stars into an RSS feed.
The Yahoo Pipes service has shut down, and IFTTT apparently dropped the stars trigger from their Github channel. So I went and created the same thing in my own Huginn instance, using a Website Agent and a Post Agent.
IFTTT now has this option. All you have to do is create a recipe.
Just put the "New Starred Repository" for THIS. And then do the appropriate steps for Pinboard for THAT.
EDIT
So apparently it might not work anymore, maybe, however on browsing the recipies I found this, which probably does work so try it, just remember to edit it for your github username
I've combined the SiftRSS service (https://siftrss.com/) with https://github.com/username.atom activity feed the OP mentioned. On SiftRSS I filter the activity feed with a /\bstarred\s\w+\/\w+/ regex on the title attribute. Works flawlessly but is dependend on a third party service, if one needs to self-host, I would also recommend using Huginn as #larcher already mentioned.

MODX: How to insert links to other resources in TinyMCE

Am I missing something? When inserting links to other resources, it seems like there should be a "resource picker" that auto inserts the [[~id]] tag for internal links. Is such a "picker" available from the TinyMCE editor in MODX Revolution?
I mean I don't mind using the resource syntax, but I don't see my users being comfortable having to learn and remember it.
When I click on the "Insert/edit link" button, this is the dialog I get:
Clicking on the "Browse" button to the right of "Link Url" gives me the following dialog:
I don't see anything that allows me to pick a resource.
I'm using MODX Revolution 2.2.1-pl (traditional) on IIS 7.5. There could be a possible issue there.
I figured it out, I was definitely missing something. The "Insert/edit link" dialog has a search box which auto completes as you type the name of existing documents into it. Selecting a document from there inserts the document's ID with the proper syntax.
There should be.
When editing text if you highlight a word to be used as a link and then click on the Edit/Insert link icon (a chain link) there is a "Link List" select box that contains all your resources selecting one will populate the link url with the [[~id]] of the selected resource.
In the MODX Revo manager better use the ACE-Editor (Extras/Package/download extras choose Ace) for buiding up your template.
Now you may drag a Ressource from the Ressource-Tree on the left and drop it into your code in the Ace-Window.
This is the easiest way to create a Ressource-Link.