We are implementing monorepo internally to let all teams work closely. As there are dependencies between each team's work, it is important to understand and track the cross-project changes that go into the monorepo. Monorepo is a good practice that brings in better collaboration, but it also introduces some inconveniences. The biggest complaints I heard … Continue reading git sparse-checkout command for monorepo
Here is a quick sample to show how Ansible can get the value from a dictionary: https://gist.github.com/jc1518/b249a6930a1dc7bfcf85181df02844dd To test it: ansible-playbook accounts.yaml -e env=dev
Just remember to add 'includeFutureSprints=true' if you need to find out the future Sprint. By default, it is only up to current Active sprint. Here is a nodejs sample: https://gist.github.com/jc1518/8c0605f9620b976d6ceede659d5b280c
By default the archived Confluence space won't be listed the search results in the Confluence UI. This also applies to CQL. If you want to include the archived space in your CQL query result, then you need to add includeArchivedSpaces=true in your CQL query. For example, I want to find out all Confluence spaces (including … Continue reading Use includeArchivedSpaces parameter in CQL
I found out that the time zone settings (e.g for due date) in ServiceNow API call is a bit tricky when trying to automate the change request creation in ServicerNow. Here is the rule that I figured out: If the account that is used for making the API request has time zone settings, then the … Continue reading Time Zone in ServiceNow API Request
I recently worked on a Jira Service Desk automation project. One of the requirements is to allow user to choose either Jira project or Confluence space from a dropdown list. This is how the custom field of 'Jira Project Picker' looks like. BTW, I have confirmed that Jira (7.12.3 ) system field project field could … Continue reading Automatically Update Jira Custom Field Content
Similar to the Confluence Project Key Query Page, I created another page for querying the Jira Project Key. As the script sends a cross domain request from Confluence to Jira, the CORS has to be configured in Jira to allow it. This is how it looks, and here is source code.