Hello everyone,
I am new to Jira and I was assigned a side task to create a script that creates sub tasks in Jira. For example when a new user will join, we need to create sub tasks for creating AD account, assign license SW with user name included in the title.
The script have to be entered in the script runner in the post function. For example each time I click on button in the ticket a new task ( like "creating AD account for user and and priding user USERNAME access to licensed software ...etc) has to be created.
Your help is really appreciated!
Thank you.
Hi Flower.
You should read all of our documentation and try to get the examples working before attempting to create a custom script yourself. You need to familiarise yourself with how Atlassian do things.
Leaving that to the side, this can be done with our built-in Create Subtask function, and adding your additional code to the additional issue actions script form.
Do say if I can help you further.
Cheers!
Dyelamos
Thanks Daniel for your response. I have no clue about how the programming language would work and how add field to the script like (creating AD account for user USERNAME). Is there any place where I can copy a script and paste to the script runner?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Flower.
In all honesty, you are going to need to follow a programming course if you wish to achieve this. If I give you code right now, you are not going to be equipped to deal with problems when they arise. If you cannot follow the documentation that we've laid out and understand it, you need to follow something like: hackerrank or codecademy.
We actually have a bunch of courses laid out on https://learn.adaptavist.com/ that are paid only though. So I'd suggest hackerRank or CodeAcademy since they provide a cheap option for improving basic coding skills.
Wishing you luck!
Dyelamos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.