Discussions
-
Forge app development. Part 2. Creating and deleting notes
Creating new note We must store our notes somewhere, so lets enchance our index.jsx file. There are 2 main possibilities to store data in Jira Forge app: Storage API and useIssuePropertyHook, we'll use second. First of all, install new dependency from your app directory: npm i @forge/ui-jira And then update file in this…
-
Forge app development. Part 1. App creation
So, some time ago Atlassian presented new developer platform for their cloud solutions. Meet Forge. The main idea behind this platform is that developer can concentrate on app logic instead of tinkering with infrastructure. In this tutorial we will create simple issue notes app for Jira. Prepare a cup of coffee and...let's…
-
Forge app development. Part 3. Deployment
Bitbucket Pipelines Ok, our app is fully functional (well, i've already mentioned some drawbacks, but hope you'll deal with it) and now we want to deploy it to our environments automatically. Atlassian gives us a great tool for this - Bitbucket Pipelines in Bitbucket Cloud. I choose Git as a de-facto standard. First of all…
-
How to get rid of boilerplate user switches in scripts
Hi all, Sometimes you need to run your Groovy script as another user, for example some admin user with needed permissions. This code can be rather verbose because you need get target user, get current user, set target user to authentication context and finally switch back. What can we do with all this? Idea is rather…
-
How do you simplify your boilerplate Groovy code?
Hi! It is interesting - how do you get rid of long and verbose Jira Java API calls using Groovy tricks? As for me, i've found rather elegant way (besides making regular helper classes) to use Groovy categories. Let's pretend we want to get readable customer request type name for issue. Step 1: package com.funlabs.category…
-
Стать JIRA-администратором
Недавно одна коллега спросила меня - "эй, братан, а как поднять бабла?" "Как стать JIRA админом?". Казалось бы, ответ прост - просто бери и работай с продуктом, прокачивай навыки и будет счастье. Но если для работы в компании, внедряющей продукты Atlassian, этот путь частично и подходит (у тебя часто несколько клиентов с…