Adding TFS tasks (work item) via url - tfs

Currently i'm trying something out with TFS 2015. I red that it should be possible to add tasks (work-items) via the browser url. This is perfect for me if it is working like I expected :)
My current url (personal items removed)
https://{myurl}/tfs/DefaultCollection/{project}/_workItems#_a=new&witd=Task&[Title]=Do
this&[Original Estimate]=1&[Remaining
Work]=1&[??????PARENT?????]={??id??}&[System.AreaPath]={project}&[System.IterationPath]={project+iteration}
So far so good it's possible to add an item via the url, but I couldn't figure out how to add the parent link to the work item!
I've tried [Node Name], [Parent], [System.NodeName], but none of them worked.
Does anyone have an idea how to create the link? Or is it not possible?
tnx in advance

Try to use [System.Linktypes] or [System.LinkTypes.Hierarchy-Reverse]
Moreover, suggest you to use REST API just as debugthings mentioned. Work Items|Rest API If you haven't already, look at the information on getting started with these APIs.

Related

Jira: Adding a Link to in issue doesn't work for a project

I've been using Jira recently and I came across a problem that I don't know how to fix it.
I have to Jira instances. when I try to link an issue to one on the other instance it doesn't link. It used to work but now it won't.
every time I try to link it I will get this even though for other projects it wasn't needed :
and when press authenticate I get this page:
afterward, when I press the link nothing changes.
Please if you are familiar with this problem help me.
afterward, when I press the link nothing changes.
I tried to link the other way and it's working but I still can't identify where the problem is.
Please if you are familiar with this problem help me.
It's all about Application Links.
Some server changes (like reverse proxy, update in web.xml, etc.) or changes in the admin user account may break the links.
You need the check Application Links between two instances; if there is a problem, try to solve that first.
If not, remove the application link from both instances and add it again.
By the way, if the users in the two Jira instances are same, enable the "OAuth" in the application links (and also be sure that the admin account is same on these two instances.)
Sources:
Linking issues
Application Links

Branch.io returns me a File Not Found

I'm trying the Branch.io API and I think I'm getting a weird problem because I'm not able to create my links properly: I can use the link for starting the app without parameter: this link http://4t3i.app.link/KDSYTMnSZs.
It works perfectly but as soon as I try to put some parameter following the doc for appending query parameters, it returns a File Not Found Webpage.
I tried:
https://4t3i.app.link/a/?&jobId=saucisse
https://4t3i.app.link/a?%24deeplink_path=article%2Fjan%2F123&%24fallback_url=https%3A%2F%2Fgoogle.com&channel=facebook&feature=affiliate&user_id=4562&name=Alex (that's the example they give)
I have the feeling I'm really missing something but no idea what. Is that so easy to add parameters: just a/ and then appending parameters??
Alex from Branch.io here:
We recently made a major back-end change to accommodate some new technical limitations that Apple imposed with iOS 9.3.1, and unfortunately it looks like we didn't fully update all our docs yet!
Your links are correct, but the /a is no longer necessary. So they would be:
https://4t3i.app.link?&jobId=saucisse
https://4t3i.app.link?%24deeplink_path=article%2Fjan%2F123&%24fallback_url=https%3A%2F%2Fgoogle.com&channel=facebook&feature=affiliate&user_id=4562&name=Alex
When you open these, you'll be able to see the link clicks coming through on this dashboard page
Thanks for noticing this. I'll make sure we get the documentation changedto reflect the new system.
Edit: also note that those examples above create new links with the specified parameters. If you simply want to append an additional parameter to an existing link, you'd do this: http://4t3i.app.link/KDSYTMnSZs?jobId=saucisse

Using Jira's API to add an attachment to an issue

I was wondering if Jira's REST API supports the ability to add an attachment to an issue (existing or new) along with uploading the attachment too? Looking at the API documentation I did not see anything however maybe i missed something.
This looks like the method you're after:
http://docs.atlassian.com/jira/REST/latest/#id339692
After you create the issue, you can click on more actions tab of that particular issue.
You would be able to attach files and attach screenshot.
Correct me if I am wrong in understanding your requirement.
Thanks.
in Python:
jira = JIRA(options="Jira_Server_URL", basic_auth=("userID", "Password"))
jira.add_attachment(issue=issue, attachment="attachment_path")
Replace Jira_Server_URL, userID, Password and attachment_path accordingly.

JIRA Issue type drop down list is blank when trying creating an issue

When I try creating an JIRA issue, my issue type list is blank. But it works just fine on another PC.
Is there any setting that I need to activate? Thank you in advance.
Without more detailed background on the difference between the two machines here are the possible fixes that come to mind:
Be sure that you are using the same user account with the same user priviliges
Check that you are using the same browser with all dependencies installed (java)
Consider re-indexing JIRA from the Administration Panel
Check your schemes to insure you don't have non-applicable dupes
Hope this helps.

How to remove http:// from a website URL

Question:
I just stumbled upon:
http://icculus.org/~chunky/writing/inetd
I realized it removes the http://www in front of the URL.
How is that done?
I am not aware of URL-rewriting being able to do that, or not ?
Google has been experimenting with this feature in the developer version of Chrome. You can read about it at
http://code.google.com/p/chromium/issues/detail?id=41467
http://www.theinquirer.net/inquirer/news/1601917/google-drops-http-chrome
If this happens, it is a browser specific setting and something you don't have control over as a website publisher.

Resources