Forums

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

Automatic create checklist based on checkboxes

Vadim
December 20, 2017

Hello everyone! I need to resolve some simple task.

I need a script that would create a checklist based on checked positions in checkboxes list. Script should start in post function workflow. I know that it can be realized in scipts via ScriptRunner but I don't know java language :(

3 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
PD Sheehan
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 Champions.
July 13, 2021

I think you can achieve that with a 2-part JQL.

Unfortunately, you will need to specify your epic twice:

issueFunction in issuesInEpics('key=RNA-1') or issueFunction in subtasksOf("issueFunction  in issuesInEpics('key=RNA-1')")

The first part will get you the list of tasks. The second part will get you the SubTasks for all the issues in the first part.

Or you can try 

issueFunction in linkedIssuesOfAllRecursive('key=RNA-1')

 But that will also include the EPIC in the result and any other linked issues

0 votes
Iryna Ihnatiuk
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 Champions.
July 13, 2021

Hi again @Prasad Andrews ,

Sorry if my post is inappropriate. I did not immediately notice that this is Adaptavist group  :(

Regards,
Iryna

Max Foerster - K15t
Community Champion
July 13, 2021

Hi @Iryna Ihnatiuk ,

please have a good read-through of Atlassian Community online guidelines for Marketplace vendors and Solution Partners as they provide guidance on how to act around the community as a marketplace vendor. This includes the various way of identifying yourself as a partner (e.g., putting the vendor name in the user name) and clearly stating your affiliation with the company providing those products or services. Please play fair here as other app vendors are judged by the same standard and always keep in mind that your primary goal should be to help the user and not solely promote your application as a solution. Thank you very much! 👍🏻

Best, Max

0 votes
Iryna Ihnatiuk
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 Champions.
July 13, 2021

Hi @Prasad Andrews ,

Take a look at Power Utilities for Jira app. It has JQL functions that should work for you:

  • issuesParents(JQLquery) - returns a list of issues that are parents of all issues inside the specified JQL query (e.x. issue in issuesParents("Project = PRDT"))

  • issuesSubtasks(JQLquery)returns a list of issues that are subtasks of all issues in the specified JQL query (e.x. issue in issuesSubtasks("Project = PRDT"))

More details here or feel free to reach out support team.

Regards,
Iryna

TAGS
AUG Leaders

Atlassian Community Events