Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to develop custom list under sub-task with help atlassian sdk ?)

Roman Mekelyta February 19, 2018

I need to create custom list of step inside test-subtask. and write data in database.

1 answer

1 vote
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2018

what do you mean by "list of step"? If you want to store data in the Jira database then use Active Objects

Roman Mekelyta February 20, 2018

Each subtask i need to create steps

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2018

A step in Jira-speak refers to parts of the workflow (an issue goes through a workflow following a set of steps).

You need to explain what a "list of step" is in world.  What would a user see on the sub-task?

Roman Mekelyta February 20, 2018

the user will see a table or a list of detailed steps to be performed.

Roman Mekelyta February 20, 2018

asd.jpg

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2018

Ok, so you can just use a text field with a little bit of code to populate it, or do you need something more complex?

Roman Mekelyta February 20, 2018

Створити точковий рисунок (2).jpg

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2018

Ah, right, those are sub-tasks.

It's easy to code a post-function to create them, and there are loads of add-ons in the marketplace that can do it as well.

You don't need to touch the database, Jira does all that work for you.

Roman Mekelyta February 20, 2018

do you have example?)

Roman Mekelyta February 20, 2018

but i can create subtask i need to create steps for subtask...

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2018

Do you have a scripting add-on to do this with?

You cannot create sub-tasks of sub-tasks.

Roman Mekelyta February 20, 2018

no i don't have.. a scripting add-on. i need to develop some like this. https://marketplace.atlassian.com/plugins/com.thed.zephyr.je/cloud/overview

Roman Mekelyta February 20, 2018

for creating step of subtask(subtask inside other subtask)

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2018

Ok, so you need to write a large add-on.  Start at https://developer.atlassian.com/server/framework/atlassian-sdk/create-a-helloworld-plugin-project/

But, please be aware that you still cannot do sub-tasks of sub-tasks.  It doesn't matter how clever your code is, Jira simply doesn't support it in the core.  You can botch something in, and it appears to work, but you'll never be able to upgrade or use time tracking.

The closest I've seen is the Structure add-on, which does not make a mess of the database, but layers more things over it to make it look like there are more levels of issues.  This is not some small easy add-on, it's big, and clever, and almost certainly a better option than trying to write your own version.

Roman Mekelyta February 21, 2018

yeas, ok, i need command for create elements inside subtask. like this(atlas-create-jira-plugin-module)

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2018

What do you mean by "elements"?

Roman Mekelyta February 21, 2018

table, buttons, or textarea..

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 21, 2018

I think you need to read through the developer documentation in full.  I don't have the time to drip-feed you all of that one bit at a time.

Like Mihkel Kagovere likes this
Roman Mekelyta February 22, 2018

ok, thank you.

Suggest an answer

Log in or Sign up to answer