Create custom work items - tfs

I need to create a custom work item type from a build task, Is this possible with current VSTS Rest API?
I have reffered the Work items Referance, It doesn't contain info on this.

Based on the REST API document and this blog about timeline, REST API for customization is not supported now.

Related

Creating issues with the JIRA API for specific users with assigned permissions to view

I am new to JIRA API automation and would like to know how I could use the JIRA API to create an issue for specific user who have restricted permissions to view - the API to be used is as follows -https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post
Thanks,
Best Regards,
Nuzhi
I tried going through the API documentation but could not find any particular detailed documentation with regards to the use case.

how to get documents attached to a list item via graph api or sdk method?

Need to fetch this csv file from the list item via api/sdk method. Tried this api:
https://graph.microsoft.com/v1.0/sites/siteId/lists/listId/items/itemId , got the list item but not the attachments in it.
CRUD operations for list item's attachment are not supported by Graph API.
According this list item's attachment feature is in backlog.
Alternative is to use SharePoint API.
Its right as user2250152 mentioned,list items attachment is not supported by graph but you can raise a feature request here: https://techcommunity.microsoft.com/t5/microsoft-365-developer-platform/idb-p/Microsoft365DeveloperPlatform
Hope this helps.

Subscribe to Jira search filter using jira Rest API

I have created a Jira search filter, using this request:
POST /rest/api/2/filter
This worked pretty well. Now after I created the filter, I want to get automatically subscribed to it.
Is there a way to do it with the REST API? Or is the only possible way to do this manually?
I already found this in the documentation: https://docs.atlassian.com/software/jira/docs/api/REST/7.4.1/#api/2/filter-createFilter
There, I found the "subscriptions" property, but I can't seem to figure out how exactly I have to write this, to get the correct syntax.
Thanks.
There is a JIRA Feature Request that is still being considered for this to be implemented. Please take a look at this for more details.
For now, all we can do is Fetch or Create Filters using the JIRA ReST APIs but editing the subscriptions should be manual tasks.
Please take a look at the following Atlassian Question which confirms the same.
Details as provided in this Question:
You can do a GET to see the filter subscriptions values you have via:
GET /rest/api/2/filter/favourite?expand=subscriptions
Hope this helps!

How to get JIRA issues assigned to the current user using the JIRA REST API?

I'm trying to get a list of issues assigned to the current logged in user using the JIRA REST API, but I can't find any documentation on how to do that.
What do I need to do in order to get the issues assigned to the current user?
You can specify the issues you want to receive by using jql.
In your case rest/api/2/search?jql=assignee=currentuser() should do the trick.
Here is the relevant part of the documentation of the REST api and here is the description of the used jql-function.

Create a salesforce user entry in iOS using REST API?

I was wondering if anyone could point out how to create new user / lead entries in salesforce?
I've tried looking at http://www.salesforce.com/us/developer/docs/api_rest/index.htm but I can't seem to find anything.
I think you can't do it out of the box with the Rest API, but, you can make your custom webservices with Apex REST (check out some code example: http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_rest_code_sample_basic.htm )
I found myself doing that for things I could not achieve using the regular Rest API, in your case, you could do just about the same thing.

Resources