youngmon/atlassian-qna huggingface dataset:
Query for showing users who have not made any modifications?
Asked by Julia:

Hi there,

We'd like to delete users who have not created or modified anything on our wiki. If they have made a contribution, we would deactivate them so the attribution is retained.

I found a query for the first part: [How to identify inactive users](https://confluence.atlassian.com/confkb/how-to-identify-inactive-users-in-confluence-214335880.html) but any queries for modifications seem to use 'lastmoddate'. In the User Activity areas, I can see that all updates made by a user are included (even if they weren't the last to modify the page).

Is it possible to write a query that could return any users who have *not* modified a page, attachment, blog, etc?

Thanks!


Answers:
author: Brant Schroeder
body: [@Julia](/t5/user/viewprofilepage/user-id/5387644) I would suggest using the KB and modifying the SQL to meet your needs.

<https://confluence.atlassian.com/confkb/how-to-get-a-list-of-users-contributors-who-have-modified-content-recently-858709256.html>

comments: author: Brant Schroeder
body: [@Julia](/t5/user/viewprofilepage/user-id/5387644) if this was helpful can you accept the answer to help others?


Tags: confluence-server

server
Sort a table in a confluence page
Asked by marjan.emami1:

How can I sort a table in Confluence. I tried to look up for the option but couldn't find anything. Also tried to find something on Google, found that sorting a table is not possible in Confluence.


Answers:
author: Irina Mosina _TechTime_
body: H

i [@marjan.emami1](/t5/user/viewprofilepage/user-id/5424982)

You should be able to hover over the right corner of the each column of the table and sort it using the arrow, see the image below. Also I wonder if you've considered using [Confluence Database](https://support.atlassian.com/confluence-cloud/docs/create-and-edit-databases/#Create-a-new-database) for a more sophisticated data management?

![SortTable.png](https://community.atlassian.com/t5/image/serverpage/image-id/305124iAADCDC5804074BF3/image-size/large?v=v2&px=999 "SortTable.png")

comments: author: marjan.emami1
body: Thank you Irina, will try it.


author: Ivan Lima
body: Welcome to the Atlassian Community.

Have a look at <https://support.atlassian.com/confluence-cloud/docs/add-formatting-to-your-page/#Tables>. You can sort tables when viewing a page by clicking the sort icons in the header row.

comments: author: marjan.emami1
body: Hi Ivan, thank you for the useful hint, however, when I tried it, the sort column A- Z and the Sort Column Z-A are greyed out.


author: Ivan Lima
body: There might be a specific condition in the table or page that prevents sorting. I assume you have permission to view and edit the page, so I have a few questions to help you identify this. Is it greyed out for one table or all tables in different pages and spaces? Is it greyed out only for your user? Is the table within a macro? Does the table have merged cells? Is the table created using the standard Confluence table or copied/pasted from an external source? Have you tried different browsers?


author: marjan.emami1
body: Thank you, Ivan, I have created that table and it is a simple standard table with no merge cells. I have copied the source from a word file, but I and my other teammates make changes on everyday basis.


Tags: cloud

confluence-cloud
How to disable editing of handy macros while in preview mode?
Asked by stephanie nacion:

I created a handy macro and using it to show project statuses on a page. I only want it to be editable in 'edit' mode so that all watchers get a notification of status changes once changes are saved. However, the handy macro can be changed while in preview mode by anyone and not send ANY notification messages that a change has occurred. How can I limit handy macros to only be edited in 'edit' mode?

thanks in advance!


Answers:
author: Alexander Ovsyannikov
body: Hi,  

Thank you for using [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=cloud&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_vendorID=1216111&utm_content=status-edit-restriction).  
[Handy Status](https://docs.stiltsoft.com/hmfc/cloud/handy-status) is the macro initially designed to speed up working with status options. You can save time by updating statuses without starting to edit a Confluence page. At the same time, you can reuse status sets that brings consistency to your Confluence pages.  
You can track the history of status changes in the [Status history](https://docs.stiltsoft.com/hmfc/cloud/handy-status/how-to-use-handy-status#HowtouseHandyStatus-ViewHandyStatusHistory) tab (available on Cloud (by status click) and Data Center (by status click)) and in the Confluence page history. You can restrict status editing in the page view mode by applying Confluence page edit restrictions (this way, users will be able to view the page but not edit it).  

Best regards  
Alexander


Tags: unknown-hosting-type
Standard contract format
Asked by David Thomson:

Confluence has numbered lists, but it would be nice if Confluence pages could be organized using 'contract lists', i.e. articles, sections, subsections, and clauses, and in a nice formatted way that contracts / legal documents as usually formatted, such as in this example contract

<https://www.sec.gov/Archives/edgar/data/945436/000119312515416730/d110552dex21.htm>

So if I added a new article, it would center the article name with the proper format (upcase, centered etc) and number, and all proceeding article and section numbers would be adjusted automatically.


Answers:
author: Pavel Junek
body: Hi David,

you can try use [Confluence Templates](https://support.atlassian.com/confluence-cloud/docs/create-a-template/) for your case.

Pavel

comments: author: David Thomson
body: I'll check it out, thank you


Tags: cloud

confluence-cloud
Search pages to insert a weblink on page
Asked by David Thomson:

Feb 7, 2024

When I post a link to a page on another page, the link conveniently gets shortened to the page's title.

Is there a way to do this without having to go to the page I want to link to, copying the URL, going back to the page I want to put the link on and pasting?

Is it possible to just search through pages somehow without leaving the page I'm putting the link on, copying the URL from this search, and inserting the URL where the cursor is?


Answers:
author: Laura Campbell _Seibert Media_
body: Hi [@David Thomson](/t5/user/viewprofilepage/user-id/5405167) there's an even easier way: the slash shortcut. Just hit / , which opens the macro search and start typing link, and you'll be able to search for the page title you want to link.

comments: author: David Thomson
body: Nice, very handy. Ctrl-K even shorter.

... actually found a shortcut for what I was ultimately trying to do - create a list of child pages.

I appreciate that, thank you.


author: David Thomson
body: Oh, but not really because that list of pages disappears when the page goes into edit mode.


author: David Thomson
body: Never mind I found it, can copy the link from the 3 dots beside the page in the pages menu on the left side.


Tags: cloud

confluence-cloud
Confirm I am on Confluence Data Center
Asked by Colin McCudden:

Hi All, we currently have an on-premise instance of Confluence - which we run with a Confluence (Data Center) license.

Does this mean that we are definitively on a Data Center instance. We have never set up multiple nodes or clustering - however we do have the clustering and 'enable cluster mode' available.

Just checking we are okay regarding eol of server on 15th February.


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

You can see this in the licence screen or the system information page. Both will tell you about the licence, but the fact you have clustering and "enable cluster mode" is actually enough already. You would not see them if it were a server licence.

The server doesn't really care how many nodes there are in the cluster, it's absolutely fine if it is a "single node cluster", but it will still give you the options you are seeing.

I am 99.9% certain you have a DC licence on this machine, but even if you do not, Server licences are perpetual - everything will continue to work, the only change you will see is that your admins will get a lot of boxes with "hey, you're on an old server licence, so you are not supported" in them. Your non-admins won't notice a thing!

comments: author: Colin McCudden
body: Thanks Nic - I guess this is the biggest clue:-

| License type | **Confluence (Data Center) 500 Users: Commercial Term License** |
|--------------|-----------------------------------------------------------------|


author: Nic Brough -Adaptavist-
body: Oh yes, absolutely. You're definitely DC and won't have any problems next Thursday!


author: Colin McCudden
body: Thanks for your help Nic - yes now I can see it's all about the license. Cheers


Tags: confluence-data-center

confluence-server

server
How to set up valid'n rule to require a value, cond'l on the value of 2 other fields in the form?
Asked by Bill Mills:

My form has 4 fields: Portfolio, BU, Sub-BU, Priority.

* Portfolio and BU are both visible on the blank form
* Sub-BU and Priority are conditionally hidden
* I have a Rules for FD macro that says when BU = "123", show the Sub-BU field
  * Field name: BU
  * Condition: BU:123
  * Action to execute \*: Show field
  * Actionable field name: Sub-BU
* I have a Rules for FD macro that says when Portfolio does not = "ABC" and BU = "123", show the Priority field  
  * Field name: BU, Portfolio
  * Condition: BU:123 AND !Portfolio"ABC"
  * Action to execute \*" Show field
  * Actionable field name: Priority

With this set up, I am able to successfully show the fields as desired. What I'm having trouble with is the validation.

* I have a Rules for FD macro that says if BU = "123" require a value in Sub-BU
  * Field name (or regular expression): Sub-BU
  * Condition: BU:123
  * Action to execute \*: Validation rule
  * Validation rule: .+

I would like to add another validation rule that would also require a value for Priority, but only when BU is "123" and Portfolio isn't "ABC".

* If Portfolio is "ABC" then Priority won't require a value even when the BU is "123"
* I tried a Rules for FD macro:
  * Field name: Priority
  * Condition: !fldPortfolio:ABC AND fldBU:123
  * Action to execute: Validation rule
  * Validation rule: .+

This results in still requiring a value in Priority even when Portfolio is ABC.

Is what I'm trying to do possible? Am I just missing the logic?

Appreciate any suggestions, thanks!


Answers:
author: Alex Medved _ConfiForms_
body: Hi,

for your first Validation rule, set the condition to be

```
BU:123 AND Sub-BU:[empty]
```

Remove "Validation rule: .+", but set the "Message to show..." parameter

For the second "Validation Rule" also remove the "Validation rule: .+", and set the "Message to show..." parameter

Alex

comments: author: Bill Mills
body: This helped; it's now working as desired. Thanks for the help!


Tags: confiforms

confluence-server

server
How to Make Fields Read-Only on the Create Screen in Jira DC
Asked by Insha Nisar:

Hello Jira Community,

I am currently working with Jira Data Center (Jira DC) and I have a requirement to make certain fields read-only on the issue creation screen. I would appreciate any guidance on how to achieve this.

**Details:**

While Epic creation

Both the **Enabler** and **Epic category** fields as **READ ONLY**

we need these fields to be as **READ ONLY.**

**Questions:**

1. What is the best approach to make fields read-only on the create issue screen in Jira DC?

2. Are there any built-in features or configurations in Jira DC that support this functionality?

3. If plugins or add-ons are required, could you please recommend reliable ones and provide a brief overview of how to configure them for this purpose?

4. Are there any potential drawbacks or limitations to making fields read-only on the create screen that I should be aware of?

Any examples, detailed steps, or best practices would be greatly appreciated.

Thank you in advance for your help!

Best regards,   
Insha Nisar


Answers:
author: Srikanth Gowda B S
body: Hi [@Insha Nisar](/t5/user/viewprofilepage/user-id/5542438)

By using Plugin we can achieve this!!

Plugin : Script Runner - [https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=datacenter\&tab=overview](https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=datacenter&tab=overview)

With the usage of Script Runner Behavior functionality we can set fields as read only in create screen.

Example Script: def field = getFieldById(getFieldChanged())  
field.setReadOnly(true)


author: John Funk
body: Hi Insha - Welcome to the Atlassian Community!

What is the purpose of this? A read only field that doesn't allow any value to be entered on a Create screen? Sorry, but that doesn't make any sense to me.

comments: author: Ryan Sandan
body: I'm trying to create this right now. For my purpose, it's to create a sort of instruction for the user to go through the issue creation. It could be a hyperlink to a SharePoint document. So my read only field would look like:

"\[Please click here for more instructions\|<https://example.com>\]"

Would you possibly know how to do this? I created a read only field and associated to a screen where it only applies in the Create issue function. I associated that to the screen scheme and field configurations but it's not showing up.


Tags: data-center

jira-data-center
Re-authorize Microsoft's access to incoming mail
Asked by Nils:

Hi. So I re-authorized all MS mail servers. Jira tells me "It's done". But unfortunately no mail that is send to the respective mail servers will generate a Jira ticket. It worked - now it doesn't. Looking at the mail's inboxes, we can see that mails will come in - but no tickets are generated. Is it possible that we do have to wait til the migration is complet on July 19th?


Answers:
author: John Funk
body: Hi Nils - Welcome to the Atlassian Community!

It's probably best for you to go ahead and open a support ticket with Atlassian to get their answer. Please post back here with what the say/resolution. Good luck!

<https://support.atlassian.com/contact/#/>


Tags: cloud

jira-cloud
Attachments with Chinese names cannot be uploaded in the comments
Asked by weifubin:

I added an attachment to the question, and when I uploaded an attachment with a Chinese name, the following error was displayed, but when I uploaded an attachment with an English name, this error did not occur. Please tell me how I should solve this problem.

![error1.png](/t5/image/serverpage/image-id/335216iB0D848F8B023EF64/image-size/large?v=v2&px=999 "error1.png")![atlassian-jira..png](https://community.atlassian.com/t5/image/serverpage/image-id/335225i473C38FC05940182/image-size/large?v=v2&px=999 "atlassian-jira..png")


Answers:
author: weifubin
body: resolved?

<https://community.atlassian.com/t5/Jira-questions/Cannot-upload-attachments-with-special-characters-quot-Malformed/qaq-p/2490046>

<https://confluence.atlassian.com/jirakb/platform-encoding-or-jnu-encoding-is-written-as-ansi_x3-4-1968-even-though-the-server-is-set-to-utf-8-1224344396.html>


Tags: data-center

jira-data-center
How to Remove Jira Instance Name from Email Subject Line
Asked by Hannes:

Hello everyone,

I am currently facing an issue with the emails sent by Jira Email this issue. The subject line of these emails automatically includes the name of the entire Jira instance. Here is an example of my current email subject template:

*** ** * ** ***

#set($mailSubject = "Testitle_lorem_ipsum") $mailSubject

*** ** * ** ***

But when someone receives the email the name of my Jira automatically is included and it looks like this:

*** ** * ** ***

Subject: TESTJIRA Testtilte_lorem_ipsum

*** ** * ** ***

So how can I remove the TESTJIRA in front of my subject?

I am using an email html template with a few custom fields if that helps.


Answers:
author: Alexandra Terek
body: Hi Hannes,

I have great news! It's super easy to remove the prefix "TESTJIRA" from your subject. Just navigate to your Outgoing Mail Connection settings and remove the prefix here: <https://docs.meta-inf.hu/email-this-issue/v/email-this-issue-for-jira-server-data-center/documentation/administration/outgoing-mail-connections>

Note that if you're still using Jira's built-in outgoing mail connections, you will not be able to remove the prefix because Jira does not allow for it. In this case, feel free to switch to using Email This Issue's connections where you have the flexibility to do so. :)

Cheers,  
Alex

comments: author: Hannes
body: Hi Alex,

Thank you so much for the detailed explanation and the great news! I didn't realize there was a difference between Jira's built-in outgoing mail connections and Email This Issue's connections.

I appreciate your help, thanks!


Tags: data-center

email

email-this-issue

jeti

jira-data-center
How to introduce a delay of 24 hours between two actions in a an automation rule?
Asked by Hiya Garg:

I am making a Jira automation rule in which if all the sub-tasks are done, then an email is sent to the reporter of the parent of those issues notifying them that the parent needs to be moved to Done. Then it should wait 24 hours, and if no action is taken, the rule should automatically move the parent to done.

I am not sure how to do that step of waiting 24 hours?


Answers:
author: John Funk
body: Hi Hiya - Welcome to the Atlassian Community!

You should create another rule based on a Scheduled trigger that will check that each day.

comments: author: Bill Sheboy
body: Hi [@Hiya Garg](/t5/user/viewprofilepage/user-id/5542321) -- Welcome to the Atlassian Community!

Adding to John's suggestions...

It is likely when your rule runs and sends the email, that needs to be recorded somewhere in the issue. For example, using a custom field, comment, label, etc. Then a second rule could run daily to check if there has been no activity based on the date / time information stored.

You describe wanting to move the parent issue to done in that case. Please also consider *how to properly detect that action was taken instead*, and what to do next.

Kind regards,  
Bill


author: Hiya Garg
body: Hey Bill, thanks for your reply.

So first I made a rule that checks that if all child tasks are done, then it sends the email as mentioned, and then it sets the due date of the parent to 24 hours from the current time using {{now.plusDays(1)}}

Then I made another rule as below

![Screenshot 2024-07-15 154632.png](https://community.atlassian.com/t5/image/serverpage/image-id/335683i4AFC0290E3A114C7/image-size/large?v=v2&px=999 "Screenshot 2024-07-15 154632.png")

The JQL search retrieves all those issues whose due date is surpassed and their status is not done (so it should retrieve all those parent issues whose due date is surpassed, but they haven't been moved to done). Is this similar to what you were suggesting, and is the JOL query correct (both in logic and in syntax)?.. I tried testing the whole rule, it successfully sets the due to 24 hours ahead, but the issue is not moved to done when the second scheduled trigger runs


author: Bill Sheboy
body: Yes, that is aligned to what I was suggesting.

Although the JQL is incorrect: when referencing issue fields just use the name without the "issue." prefix.

```
project = yourProjectName AND duedate < now() AND status != Done
```

I recommend testing by running your first rule with some examples to set the due date and then running the JQL manually with View All Issues to confirm it works as you expect *before enabling the second rule*.

And I wonder...is the due date used for any other purpose in your project? If so, this approach may not work as expected.


Tags: cloud

jira-automation
Unlinked issue count then counter in automation needs to decrement
Asked by thumuluru_shreya:

I created one custom field for counter purpose whenever the D ticket in one project link to A ticket in other project then the counter needs to increment I achieved this in automation but my problem is whenever I unlink the D ticket in A project the counter needs to decrement it means the counter needs to update . How can I achieve this in Automation? or else is there any possibilities to achieve in other approach also? If yes can you guide . Can anyone help on this


Answers:
author: John Funk
body: Hi [@thumuluru_shreya](/t5/user/viewprofilepage/user-id/5541517) - Welcome to the Atlassian Community!

See if this previous post helps you: <https://community.atlassian.com/t5/Jira-questions/Automatically-Increment-and-Decrement-Custom-Field-on-Transition/qaq-p/1973553>


author: Tessa Tuteleers
body: Hi [@thumuluru_shreya](/t5/user/viewprofilepage/user-id/5541517) ,

Welcome to the community!

You could create a new rule and use the "Issue link deleted" trigger to accomplish this. Then you could decrease your running counter field with 1.

However, can I ask the purpose of this field, there might be other solutions better suited for your needs.

Cheers,

- Tessa

comments: author: thumuluru_shreya
body: Thanks for responding, The purpose of the field is when we link the ticket the counter needs to increment and when we unlink the ticket the counter needs to decrement


Tags: cloud

jira-cloud
Is there any way to display custom field values bases on JQL Query Search?
Asked by PLaksh11:

I need a multi select drop down custom field that shows the Values using the JQL Query in a project? Any suggestion or plugin would be helpful.

Note: We tried "Power custom field" Plugin. Unfortunately we are facing issue with a plugin and reported to plugin vendor.

Thank


Answers:
author: John Funk
body: Hi [@PLaksh11](/t5/user/viewprofilepage/user-id/5542295) - Welcome to the Atlassian Community!

You might try the ScriptRunner Behaviours app. That's the only one I know that might come close.

comments: author: PLaksh11
body: Hi [@John Funk](/t5/user/viewprofilepage/user-id/7148)

How can we get select list multi choice values using script runner behavior.

if you could share any sample code it will be helpful.

Cheers


author: John Funk
body: I do not use that app. You would have to check directly with the vendor.


Tags: cloud

jira-cloud
Jira ?? ??? ??? ??? ? ???.
Asked by ???(Hoseong Na):

JIRA ???? ??? Watcher? ???? ???, ??? ???? ???? ????. ??? ???? ??? ? ???, ??? ???? ??? ? ??? ?? ????. ??? ??????


Answers:
author: John Funk
body: ?? [@???(Hoseong Na)](/t5/user/viewprofilepage/user-id/5542273) - Atlassian ????? ?? ?? ?????!

??? ??? ??? ??? ?? ???? ??? ??? ???? ??? ? ????.

???? ???? ?? ??? ?????.

??? ?????? ?? ??? ????. ??? ?????.

?? ???? ???? ???? ???? ???.

comments: author: ???(Hoseong Na)
body: ?? ??? ????? ???? ????.


Tags: cloud

jira-cloud