youngmon/atlassian-qna huggingface dataset:
about subtask
Asked by Surender Reddy:

Hi Frds,

In a project, we are using post functions(

|--------------------------|----------------------------------------------------------------------------------|
| Create multiple subtasks | Configure a template to create multiple subtasks when the transition is reached. |

) to create subtasks when the task is created. Now My manager is asking to make them optional for the reporter. so that he can select what subtask to create and what to not.

Is there any way to create an option on the create screen for this subtask selection.

Please help me out if you need any more information plz let me know.


Answers:
author: Surender Reddy
body: Hi, [@Tarun Sapra](/t5/user/viewprofilepage/user-id/781576) I appreciate your answer really very useful stuff. We are using

#### Quick Subtasks for JIRA for creating a subtask, Do you have any idea how to add a condition to workflow to execute the post function when checkboxes are checked. please help with this question. I am new to Jira can please keep it elaborated thanking you in advance. {#toc-hId--742183636}

comments: author: Tarun Sapra
body: Hello [@Surender Reddy](/t5/user/viewprofilepage/user-id/2459903)

For Quick-sub-tasks plugin I don't see the option of add a condition, if you were using other paid plugins like JSU or Script Runner, then it would have been straightforward.


author: Surender Reddy
body: #### Adaptavist ScriptRunner for JIRA and JIRA Suite Utilities we have both of them . can you please tell how to do that. adding condition for checkboxes {#toc-hId--742152937}

Thanks in advance


author: Tarun Sapra
body: Hello [@Surender Reddy](/t5/user/viewprofilepage/user-id/2459903)

Here's how I will do it using Script runner plugin.

For each sub-task to be created you can use the post-function of the plugin called "Create a sub-task". Now in the post-function configuration there is an option to add "condition". In that condition you can check if the corresponding checkbox has been selected by the user or not and if it's not selected then the post-function will not go ahead with the sub-task creation.


author: Tarun Sapra
body: Hello [@Surender Reddy](/t5/user/viewprofilepage/user-id/2459903)

You can create a custom field containing checkboxes. Each checkbox should correspond to each sub-task. Then add the custom field on the issue create screen and based on the selection of the check-boxes you can trigger corresponding sub-task creation.

You must be using a plugin for sub-task creation just check if the plugin allows to put conditions before sub-task creation so that you can check based on checkbox value if the sub-task can be created or not.

comments: author: Tarun Sapra
body: Hello [@Surender Reddy](/t5/user/viewprofilepage/user-id/2459903)

If the answer helped you, please accept/upvote so that others are helped as well.


Tags: jira
Mac customers can't access JSD
Asked by Kary_Myers:

Recently, we have customers on Macs that can't access Jira Service Desk. Were there changes made recently that would change how they access JSD?


Answers:
author: Stephen Sifers
body: Hello Kary and welcome to the Community!

Users on MAC's should be able to access Jira Service Desk without issue. I can confirm on my MAC machines that I am able to access instances of Jira Service Desk.

With this said, could you please provide further detail around the issues with connecting/loading Jira Service Desk? Any screenshots or error messages you see will prove helpful.

Regards,  
Stephen Sifers


Tags: cloud

confluence-cloud

jira-service-desk
Plugin uninstall destroys Confluence
Asked by matthiaskailabch:

Hey there,

I have my own plugin on my Confluence server, if I want to update it, I uninstall it and upload the new .jar file. But when I uninstall it, this error message appears.![Bildschirmfoto 2019-02-27 um 15.30.35.png](/t5/image/serverpage/image-id/47144i6B621FD7ACB87586/image-dimensions/490x263?v=v2 "Bildschirmfoto 2019-02-27 um 15.30.35.png")


Answers:
author: Stephen Sifers
body: Hello Matthias,

The error is a rather generic error which may be caused by multiple factors. The cause may be a fault within the tutorial for creating a plugin. There is a similar post which results in the same type of error while going through the tutorial for creating a plugin. Is this post similar to the issue you're experiencing?

[Unknown Server Error in Confluence from using Atlassian's Space Blueprint Tutorial](https://community.atlassian.com/t5/Confluence-questions/Unknown-Server-Error-in-Confluence-from-using-Atlassian-s-Space/qaq-p/1001852)

If this is the same issue you're having please let me know. Once you confirm if it is I can get a bug request submitted since this seems to be a reoccurring issue.

Regards,  
Stephen Sifers

comments: author: matthiaskailabch
body: Hello [@Stephen Sifers](/t5/user/viewprofilepage/user-id/2145523)

hank you for your quick answer. I tried to launch the cloned gitrepository plugin, but this error occurs. Can you help me with that?

![Bildschirmfoto 2019-03-01 um 08.42.21.png](https://community.atlassian.com/t5/image/serverpage/image-id/47381iCB2774C6CF6E2DA4/image-dimensions/276x124?v=v2 "Bildschirmfoto 2019-03-01 um 08.42.21.png")

Regards,

Matthias Kailbach


author: Stephen Sifers
body: Hello Matthias,

Thanks for the reply and the screenshot of your most recent error.

This error looks to be related to the following Community post: [Failed to run plugin: Couldn't detect an AMPS product to dispatch to ...](https://community.atlassian.com/t5/Jira-questions/Failed-to-run-plugin-Couldn-t-detect-an-AMPS-product-to-dispatch/qaq-p/917687) which discusses the changes in the Atlassian SDK v8.0.x needing a change within your pom.xml file.

Please let me know if this applies to your error and helps to resolve it.

Regards,  
Stephen Sifers


author: matthiaskailabch
body: Hi [@Stephen Sifers](/t5/user/viewprofilepage/user-id/2145523)

that works great, now I can use Atlas-Run, but if I upload it to the Confluence server and uninstall it to update changes, there will be the same error.

Regards,

Matthias Kailbach


author: Stephen Sifers
body: Hello Matthias,

Thank you for testing the requested steps and reporting back the results. We have found this to be a bug within the tutorial itself and have created a bug request to have this further reviewed. ou may find your bug request at [CONFSERVER-58001](https://jira.atlassian.com/browse/CONFSERVER-58001?_ga=2.207513680.2100130692.1551879542-1581346095.1546457917). You may watch this request to receive future updates of its status.

Thank you for reporting this issue and testing out steps to help us verify a bug was present.

Regards,  
Stephen Sifers


Tags: confluence-server

server
editing a global template to change the instructional text
Asked by Ivor Kruger:

I want to edit the global template for meeting notes to change some of the instructional text. How to do this? The documentation [here](https://confluence.atlassian.com/confcloud/blueprints-and-user-created-templates-724764985.html#BlueprintsandUserCreatedTemplates-Thetemplateeditor) says to select Template-\>Instructional Text but I cannot figure out how to do that.

I use Confluence Cloud.


Answers:
author: Dominic Lagger
body: Hi Ivor

Did you find the section, where you can edit the global template?

* Go to the **General configuration --\> Global Templates and Blueprints**
* Click **Edit** to the template you want to edit

When you are in the edit mode, you can just click this icon to add a instructional text:

![Add instructional text.png](https://community.atlassian.com/t5/image/serverpage/image-id/47235iEB389777E4DF8CFD/image-size/large?v=v2&px=999 "Add instructional text.png")

comments: author: Ivor Kruger
body: Hi Dominic,

thanks for the reply. I was afraid it might so simple as that... BUT on my edit screen I do not have that option.

I accessed the global template by clicking on "Settings" in the top level of Confluence. The I found the "Global Templates and Blueprints" and clicked on the "Edit" to the right of the template I want to edit.

<br />

Below is a screenshot of what the toolbar at the top looks like.

![Screenshot 2019-02-28 08.46.20.png](https://community.atlassian.com/t5/image/serverpage/image-id/47520i0E516800DCFDF561/image-size/large?v=v2&px=999 "Screenshot 2019-02-28 08.46.20.png")


author: Dominic Lagger
body: Hi Ivor

Now I see. I think, you use the new editor style. And as it is referred in this [Community Question](https://community.atlassian.com/t5/Confluence-questions/Adding-Instructional-Text-onto-a-New-template-using-new-style/qaq-p/1018770), the Instructional Text is new just "Placeholder Text"

You can find this option, when you clock the plus (+).

Hope this is the solution for you.


Tags: cloud

confluence-cloud

instructional-text
How to add only headings in Table of contents starting with number
Asked by Suraj Borge:

I want to take only the headings starting with number in table of contents.


Answers:
author: Jennifer Hemmens
body: Hey Suraj,

Click on the Table of Contents macro you've inserted on your page, and select "Edit". This will open the macro settings, where you can configure what you wish to include in the TOC.

You can find the details about the various parameters that can be configured for this macro **[here](https://confluence.atlassian.com/conf612/table-of-contents-macro-958777850.html)**.

I usually don't use numbered headings in Confluence, so I usually just limit the Maximum Heading Level to 1 or 2, to only show headings that have been formatted as such.

I hope this helps!


author: Jared Brenner
body: Hi Suraj,

You'll want to edit the Table of Contents macro settings by changing the "Include Headings" or "Exclude Headings" settings. Those values are read as regular expressions. I don't know much about regular expressions myself, but you'll probably be able to get things done with a little trial and error.

Good luck!
How to make transition in jira project with changes in linked confluence page?
Asked by Haran Kumar:

Hi ,   

I know that the status changes in jira project gets reflected in the attached confluence page. In similar fashion is there any way that we can make transition in jira issue using the linked confluence page.  

say my confluence page has many sections , and when i move from one section to another , I must see a transition change in the jira issue automatically .  

Can that be made by any means ?


Answers:
author: Claudiu Lionte
body: Hi Haran,

At this moment, this level of automation does not exist in the link between Confluence and Jira.

A transition in Jira can be triggered by some developing tools (like Bitbucket) but not by Confluence.

Claudiu

comments: author: Haran Kumar
body: [@Claudiu Lionte](/t5/user/viewprofilepage/user-id/1197241) thank you


Tags: cloud

confluence-cloud

jira

jira-cloud
User macro to periodically reload page shows unexpected behavior (reloads edit page too)
Asked by podvinec:

Hello everyone,

We had the request from a group of users to have a dashboard-type page reload periodically, so that they can see changed content.

Based on a really old post here ([https://community.atlassian.com/t5/Confluence-questions/Page-auto-refresh/qaq-p/306485](https://community.atlassian.com/t5/Confluence-questions/Page-auto-refresh/qaq-p/306485 "Follow link")), I have come up with a simple user macro that puts in a piece of javascript that essentially hooks up a setTimeout() function to the window.onload event, which in turn calls a page reload (code: see below).

The macro has the desired effect, but when you enter page edit mode, it triggers the reload once more while already in edit mode. This is not desirable, and I am unclear as to why this happens - my understanding is that the window.onload() functions would not be executed as soon as the edit page is loaded, as the macro is not active there.

I am admittedly not an expert in the inner workings of Confluence, can anyone point me into the right direction as to how I can fix the behavior to only cause reloads when the page is in viewmode?

Many thanks in advance,

Michael

User macro:

```
## Based on the discussion in https://community.atlassian.com/t5/Confluence-questions/Page-auto-refresh/qaq-p/306485
## Auto Refresh Wiki Page
## @param interval:title=Intervall|type=string|required=true|default=60|desc=Interval in seconds between triggered page reloads. Don't set this too small, otherwise you will put load on the server.

<script language="javascript">
    // Assign an anonymous function to the onload event
    window.onload = function(){
        // The time out value is set to be $paraminterval seconds 
        setTimeout(' document.location=document.location' , $paraminterval * 1000);
    }
</script>
```


Answers:
author: Davin Studer
body: The below script example hooks into the events that are fired when entering into edit mode. So you would need to change your code a bit to turn off the reload when these events fire off.

```
AJS.toInit(function () {    //Launch if edit button clicked    AJS.bind('init.rte', function (a, e) {        AJS.$(e.editor.getWin().parent.document).bind("mode-changed", function () {            // code to turn off page reload goes here        });        AJS.$(e.editor.getWin().parent.document).bind("iframeAppended", function () {            // code to turn off page reload goes here        });    });});
```

comments: author: podvinec
body: Hi Davin,

Thanks a bunch - this was the help I needed.

One remark: I was't able to get it to de-register (using clearTimeout()) the refresh when the code was within the nested bind() calls - but putting the code directly into the function that is bound to the 'init-rte' event worked.

Many thanks,

Michael


Tags: confluence-server

server
Edit Mode tool bar
Asked by Kevin Barker:

While in edit mode I have a tool bar that has options **Bold** *Italics etc* which I fine*.*My colleague however has an additional tool bar to delete rows etc. We were set up as a copy of another profile but for the life of me I can't find how to access / activate this additional tool bar any help appreciated


Answers:
author: podvinec
body: Kevin,

this sounds as if your colleague has the table editing menu visible whereas you do not. This menu is shown when you click into a table in edit mode, or when you insert a new table by clicking on the table icon (fourth from the right).

I hope this helps,

-michael

comments: author: Kevin Barker
body: Thanks Michael its only bugged us for two days
Where are tables stored in Confluence database
Asked by Eva Dezsi:

Hi all,

Do you know in what table in the Database are tables from a Confluence page saved?

I would need to find a list of all tables in Confluence database, and I am not sure how they are handled in the DB.

Thank you in advance.

Kind regards,

Eva


Answers:
author: Dominic Lagger
body: Hi,

A table in a confluence site is not a table in the confluence database.

The content of a site is stored in the *bodycontent* table. There you have the *attribute* body, which contains the content in the [confluence storage format](https://confluence.atlassian.com/doc/confluence-storage-format-790796544.html).

You can take out all content pages with tables in it with this SQL:

```
Select * from Bodycontent b where b.body like '%<table>%'
```


author: Nic Brough -Adaptavist-
body: Bodycontent, but see <https://confluence.atlassian.com/doc/confluence-data-model-127369837.html> for most (not quite all) table definitions.


author: Nic Brough -Adaptavist-
body: Bodycontent, because the tables are part of the page, and that's where pages are stored. They're not separate from the rest of the page, just encoded.

See <https://confluence.atlassian.com/doc/confluence-data-model-127369837.html> for most of the rest of the Confluence tables.

I'd strongly recommend staying away from the database though, it's almost certainly the worst possible way to achieve whatever you are trying to do. If you could explain what you're trying to do, we might be able to get you a better way to do it.

comments: author: Eva Dezsi
body: We need to figure out if an add-on - xTables - related to Tables is used/not. We wanted to find information in the database, as macro usage under Confluence administration is not showing the data.

I need to find all the pages/users who used xTables in Confluence.


author: Nic Brough -Adaptavist-
body: Hmm. That depends entirely on how xTables stores its data in Confluence.

If it's using added macros (so your users do something like "content {xtables macro} more content), then a simple search for the macros will be able to find usage.

If it's storing it some other way, you'll need to analyse how the app works to find out how its doing it. I don't know the app, so I can't help you with that bit.


author: Marcela Junyent
body: [@Eva Dezsi](/t5/user/viewprofilepage/user-id/1501664) Where you able to solved this? I have the same situation.


Tags: database
Editing access not working
Asked by nkeating:

I was given editing access to a Confluence page, yet there is no 'edit' option showing on the top of the page like for other pages I can edit.

I have performed some troubleshooting (restart browser, clear caches, use different browser) but still have the same issue. Another user that was given editing rights is experiencing the same issue.

<br />

Can you please advise what could cause this?


Answers:
author: Thomas Schlegel
body: Hi [@nkeating](/t5/user/viewprofilepage/user-id/2784011) ,

maybe the page is restricted. Please have a look at the lock beneath the path. There you can see the restrictions.

More about restrictions: <https://confluence.atlassian.com/doc/page-restrictions-139414.html>


author: Haran Kumar
body: [@nkeating](/t5/user/viewprofilepage/user-id/2784011) Also check for the space permissions in which the page is located.
how to add a particular software ( for example Ansys ) in confluence wiki page
Asked by Abi:

now we are using wki page ( confluence ) need to update some softwares in wiki page and edit some software information updates .


Answers:
author: Nic Brough -Adaptavist-
body: I am not sure there is a question here. "Add software to a page" does not make a lot of sense unless you just mean "attach a file"?

As for editing software information updates, click "edit" on the page and update what you need to.

I suspect I may be missing something here though, could you explain?
Confluence calendar
Asked by Aldren Verzo:

how do i create a calendar macro? i can't seem to find a calendar/events macro on the list


Answers:
author: Marlene Kegel -codefortynine-
body: You can also try our macro **[Secure Google Calendar for Confluence.](https://marketplace.atlassian.com/apps/1218211/secure-google-calendar-for-confluence?hosting=cloud&tab=overview&source=community04)**

It's available for Server and Cloud and you don't have to make your calendar public in order to share it with your colleagues.

Don't hesitate to get in touch with us if you have feedback or questions.


author: Haran Kumar
body: Hi [@Aldren Verzo](/t5/user/viewprofilepage/user-id/2761853) , As Thomas said there is no calendar macro. Still you can get a date wise calendar by using "//" ( Double slash without quotes) in confleunce editor to get a dated calendar.   

You can also Refer  

<https://community.atlassian.com/t5/Confluence-questions/Add-calendar-to-Confluence-page/qaq-p/741865>  


author: Thomas Schlegel
body: Hi [@Aldren Verzo](/t5/user/viewprofilepage/user-id/2761853) ,

do you have the Team Calendars app for Confluence?

Without any calendar app, there's no calendar in Confluence.

comments: author: Aldren Verzo
body: i see. so that explains why, so how do i go about in adding one??


author: Aldren Verzo
body: i think i found an answer... so there's a fee to get it.


author: Zak Laughton
body: Hi Aldren,

Yes, team calendars is a paid app. You can see details on the [Team Calendars Pricing](https://www.atlassian.com/software/confluence/team-calendars/pricing) page.

-- Zak
How to get all comments list in confluence via SQL queries
Asked by Lakshman:

How to get all comments list in confluence via SQL queries


Answers:
author: Davin Studer
body: This should get you the comments from the database.

```
select *from [CONTENT] Cinner join [BODYCONTENT] B on C.CONTENTID = B.CONTENTIDwhere    C.CONTENTTYPE='COMMENT'    and PREVVER is null    and CONTENT_STATUS = 'current'
```

comments: author: Lakshman
body: Thanks for your query it woks!!!


author: Davin Studer
body: Glad to help! Please make sure to mark the question as answered. Thanks.
I see cutom style code on top of pages (see screenshot)
Asked by Doorn Automatisering:

Anyone has an idea how to hide/solve this ?

![Knipsel.PNG](/t5/image/serverpage/image-id/47111iB3D791283B43F165/image-size/large?v=v2&px=999 "Knipsel.PNG")


Answers:
author: Zak Laughton
body: Hi Doorn,

Looks like custom code was added somewhere in Confluence, likely in custom HTML (![Cog](https://community.atlassian.com/t5/image/serverpage/image-id/47524i3B4E2E69B064000E/image-dimensions/18x18?v=v2 "Cog") \> **General Configuration** \> **Custom HTML**).

If you don't see the code there, I recommend running through the other steps on [How to clear customizations from Confluence](https://confluence.atlassian.com/confkb/how-to-clear-customizations-from-confluence-314447086.html).

I hope this helps!  
-- Zak


Tags: confluence-server

server

style
Unable to create a fixed header in a table
Asked by Love ac:

I have tried a table on a new page with no other elements. I cannot get the header to stay fixed.


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hi [@Love ac](/t5/user/viewprofilepage/user-id/2781374),

Please, check this list:

* Table has no header row or there are cells in the top row that aren't marked as headers.
* Table has a header column, instead of a header row, and scrolls horizontally.
* Table ?ontains another table, that has its own header row.
How to export labeled pages only
Asked by Marc Botermans:

Hi,

We would like to export pages with a certain label and import this into another Confluence instance.

Although I am familiar with exporting full spaces or manually selected pages (via XML backups) I could not find a way to base this on a label.

Neither could I find an add-on that provides this functionality. All suggestions to resolve this use case are highly appreciated.

Regards,

Marc


Answers:
author: Shannon S
body: Hi Marc,

Something like this would require an add-on, since it's not a feature of Confluence.

I would advise you to have a look at the available exporting add-ons, and see if one of them has this capability:

* [Confluence Export Add-ons](https://marketplace.atlassian.com/search?product=confluence&query=page%20export)

Another possibility might be with a scripting add-on, such as [Scriptrunner](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud&tab=overview) or [Confluence CLI from Bob Swift](https://marketplace.atlassian.com/apps/284/confluence-command-line-interface-cli?hosting=cloud&tab=overview). I haven't personally used either of these, but they can solve many issues in Confluence by running things through the command line instead of using the UI.

I'll also tag your question with the Marketplace collection tag in case other users might know of an add-on that would work for you.

Regards,

Shannon

comments: author: Marc Botermans
body: Hi Shannon,

Thank you for both suggestions. It seems that scriptrunner's CQL function" [Search Page By Label](https://scriptrunner.adaptavist.com/latest/confluence/CustomCqlFunctions.html)" may provide us what we want. In case we decide to go down this road, I will post an update here.

Regards,

Marc


author: Shannon S
body: Thanks, Marc!

Keep us updated.

Regards,

Shannon


author: Marc Botermans
body: Hi,

We decided not to export label based pages as most pages do not change very often.

When we change many pages we will export/import the entire space and remove unwanted pages. When there are not many changes, we will copy/paste content from relevant pages.

Thanks (again) for thinking with us.

Regards,

Marc


Tags: atl-adm

atlassian-marketplace

confluence-server

server