Forums

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

How to create a Reportt of all questions (for a space) including the (top) answer

Ronald Ikes
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 24, 2018

The "question List" Macro only displays a list of questions and to read the answers you have to follow the link.

For a fast overview and knowledge Article I want to crate a list of the question *incl* the answer.

2 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.
May 27, 2020

There is no public documentation for this, but all their canned scripts pretty much follow the same template. The doscript params is a map of FIELD : value.

You can get the list of fields using the scriptrunner console's autocomplete.

2020-05-27 14_16_02-Window.png

To answer your other question, I've never seen a cloning feature in jira (built-in or add on) that copied the full history. But in theory, but you can use:

The rub is that I don't see how you can set the date/time of the change history. Each changegroup you create would have a new timestamp.
That's probably why, generally, cloned issues preserve a link to the issue they were cloned from so one could follow the clone link and consult the history there.

YAVUZ AKIN
May 27, 2020

Thanks for the response. I'm just going to roll with no history for now. I've never seen autocomplete in the script console. Do I need to enable it or something? Thanks again.

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.
May 27, 2020

It's enabled by default in newer versions.

Usually, after upgrading, the console will have a large announcement panel that shows he shortcuts.

You can find the details here: https://scriptrunner.adaptavist.com/latest/jira/code-editor.html

0 votes
YAVUZ AKIN
May 27, 2020

So I actually solved this issue but I've ran into another. So CloneIssue does not copy the history of the original issue. Is there anyway to add this?

TAGS
AUG Leaders

Atlassian Community Events