...
The only requirement you really need external from this guide is to understand programming logic, which don’t really require programming, logic is the central baseline of all programming languages and its what dictates how one can communicate with the computer.
We’ve assembled some knowledge here Simple Programming Logic Guide but this might not be enough if you have 0 background in technology. For more in depth visual guide, this series of videos might help you as well.
https://www.youtube.com/watch?v=vOEN65nm4YU&list=PLb1JOlXNnNeeEabeqbMYaBNpmYD-7Fui9Programming looks scary at first, but once you understand is as simple as learning the basic rules of the language and respecting them.
Topics covered in this Page
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
If you know your ways around Python and want to learn Easy for Jira, use this:
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Working with Easy for Jira|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Easy for Jira was designed to reduce effort, but it won’t code by itself ModulesWe do have a few modules to explore in Easy for Jira, such as Listeners and Post Functions, often allied to the use of the Code Repository.
Modules will allow you to put Python code to work on your workflows and events. RecommendationsThe two main recommendations We can outline from my usage/experience with the app are: Both usually are used together. Easy for Jira Wrappers (Context Variables)To do that, we’ve worked out a few wrappers, those wrappers are designed so you use less code, that allows you to
The wrappers we currently have available are outlined here:
Each one will have some specific examples and usage you can explore and use to scale integrations, make your systems more dynamic and your life much easier. We will not explain all of them in detail, just the ones that if you master, you get to the mastery of the app. The Issue ObjectLet’s explore the Issue Object, the main object in Easy for Jira, this class was tailored specially to minimize the iterations from the user to be able to work the issue data, so when you need to edit information from the issue, you don’t have to recur to the API, you can use the If you are using it on Post Functions you can do the following using the issue context:
This block of code will just append some text to your description field. To explain what happened in there, during the transition, Jira communicated with EFJ, which received the issue data and transition data, and performed the action that you asked for, which is to set the description field as description + some more text. This is all made using the APIS, but we created a wrapper so you don’t have to be calling the lower level functionality to do it, as the name suggests, It’s supposed to be Easy. To understand better how the structure of an issue works, you should go to: https://<yourjiracloudsite>.atlassian.net/rest/api/2/issue/<anyissuekey> Replace the placeholders and read the structure of the response, it should look like:
When using the Issue object, the structure you have available is exactly that, so you can get the summary of an issue like this:
or get the labels as a list as follows:
And perhaps you want to get the issue key, or the parent issue key
The API ObjectThe API wrapper allows you to interact with your instance and even to make web requests towards the Jira official API.
The API also allows you to search for issues:
Or iterate them directly:
You can also interact with instance objects such as Projects
Depth Look into Common IssuesOn your day to day as a Jira Admin versed in the arts of Easy for Jira, you will eventually face different problems with the same root resolution. You will generally have to get one or more issues, apply some calculation, treatment, etc and after that, edit one or more issues, those issues are generally related somehow (parent/child, linked) and they will require getting more than one issue to do so. Easy for Jira allows you to handle those problems with ease, so let’s check how you can solve some day to day issues, such as calculating story points for all issues in one epic.
Exercises & ChallengesAs mentioned before, you only really learn code by doing it, so We challenge you to perform 3 levels of challenges to confirm you got the knowledge to use the app. With my past experience, 90% of the time, what you need to know is to handle the trigger issue and his related issues and to do something with them. The following exercises will confirm you can work with Easy for Jira confidently in your day to day. BeginnerThese are entry level exercises, if you can confidently code solutions for the following scenarios, you can consider yourself a
IntermediateThese are mid level exercises, if you can confidently code solutions for the following scenarios, you can consider yourself a
AdvancedThese are advanced level exercises, if you can code solutions for the following scenarios, you can consider yourself a
Once your exercises are done, you can check the Exercise Answers, to check if your approach is the recommended one. |
...