Gitlab api - Is there any api to edit release notes on an existing tag? - gitlab

I want to update release notes for an existing tag in gitlab, i am able to do it from UI(by clicking "edit release notes" against a tag) but not able to find any API in tags api documentation:
https://docs.gitlab.com/ee/api/tags.html
What is the api call for this ?

A tag with release-notes will create a gitlab release. To manipulate those, use the releases api endpoint as specified here: https://docs.gitlab.com/ee/api/releases/

Related

How to integrate Jira Atlassian with GitLab cloud?

The current documentation does not match the new interfaces exactly but what I have being able to put together is displayed in the screenshots below.
What does work is:
When I push a comment to GitLab a link is built and links to the properly referenced JIRA ticket.
JIRA is added as a LHS menu item which opens link I define as Web URL (see below).
What does not work is:
The JIRA ticket does not display the comment.
On GitLab
My settings keep failing the integration test and I have no idea what the problem is.
myproject > Settings > Integrations
On JIRA CLOUD
I have created a user as per instructions in the docs
https://gitlab.com/help/user/project/integrations/jira
https://gitlab.com/gitlab-org/gitlab-ce/blob/8-13-stable/doc/project_services/jira.md
From what I can gather is if I want to comment I just have to mention a correctly formatted JIRA ticket ID and if I want to change the state of a ticket I need to set the correct Transition ID(s) which I can find in my JIRA workflow.
I am able to log in manually to JIRA with the "Gitlab Dev" user account, and post comments.
Has anyone else got this to work with the newer admin layouts?
Make sure that the Jira user you set up for the integration has the correct access permission to post comments on a Jira issue and also to transition the issue, if you’d like GitLab to also be able to do so.
Jira issue references and update comments will not work if the GitLab issue tracker is disabled.

Apache Jena all release notes so far

I am trying to find all the release notes of each of the versions released so far for Apache Jena. Where can I find it?
ASF JIRA allows to create release notes for hosted projects.
On the Configure Release Notes page, select a version and press the "Create" button.
If you have an ASF JIRA account, you can visit the Releases page directly.
For future release notes, you could also subscribe to users#jena.apache.org.

Export GitLab wiki attachment

GitLab wiki is a great tool to maintain documentation. It comes with a convenient web interface as well as wiki repository (Git Access) in order to edit the wiki.
Unfortunately, when adding attachments to an article via the web interface, the attachment will not be saved inside of the wiki repository (Git Access). Is there a way to add attachment to wiki without using the Git Access?
To put it bluntly, no there isn't. (At least not yet, as of version 8.9) Files which are uploaded as Attachment are being put in a uploads/ folder which is global.

How to differentiate a programmatic delete from an application delete in crm 2011 plugins

I have an entity with a pre delete plugin. Is it possible to differentiate in the plugin if the delete request has been issued manually in crm or programmatically using the crmservice from the sdk?
As far as I know is not possible to differentiate inside a plugin a request made by web interface from another made using the sdk.
You could infer it from other information.
If you know a particular user who will always be performing the delete (e.g. a service account), then you could inspect IPluginExecutionContext.InitiatingUserId.
Or you could have a 'delete by service' field, don't put that field on the form, then before you issue your delete via the crmservice, update that field to a known value. Then your plugin can just inspect that field.
Not quite as elegant as inspecting an origin field, but you should be able to perform the logic you need.

Can you create Jira release notes from Cruise control or Nant?

I would like to include release notes with every release of our intranet project. We use Jira. Is there a way to generate the release notes automatically based on the fixes that were submitted to SVN? We usually check the files back with the jira key id.
vikasde,
To my knowledge Jira does not offer a way to retrieve this information in a straight-forward manner on a jira number basis. However, it has been quite some time since I looked into this. Jira does generate release notes for all jiras contained within a release (fixes checked in or not). What I have done in the past, as part of the release build, is to have a script retrieve the contents of the "Edit/Copy Release Notes" jira url and paste that into an xml file stored within the build products. If there is a better way to achieve this functionality I would definitely be interested as well.
EDIT: It appears that starting in Jira 3.5 you can retrieve issues by id through the soap interface.

Resources