youngmon/atlassian-qna huggingface dataset:
Can I set a document / site preview in result list?
Asked by Petra Cuypers-Oberthuer:

Is there a chance to set a document/site preview in the result list?

When searching for a topic that is split up in different sites (depening on department) it is a bit confusing to figure out which one is the right result.

A previw would be great.


Answers:
author: Barbara Szczesniak
body: [@Petra Cuypers-Oberthuer](/t5/user/viewprofilepage/user-id/5415138) If you do a quick search, you can then click **Advanced Search** at the bottom of the search popup to open the same search results in the Advanced view, which displays a small excerpt of the content containing the search terms. See <https://support.atlassian.com/confluence-cloud/docs/search-for-pages-and-posts/>

If you are searching within a space, you can use the **All content** item in the left navigation (on my space, it is right under my space overview page name). The search results are displayed in little cards with a preview. For details, see <https://support.atlassian.com/confluence-cloud/docs/decide-how-you-see-pages-in-a-space/>

comments: author: Petra Cuypers-Oberthuer
body: Thanks [@Barbara Szczesniak](/t5/user/viewprofilepage/user-id/5187859) , the small excerpts is a possibility, but that would mean structured first lines on every site.

The All content item does not allow searching for key words, but the cards view is a lot better.

I'll suggest both to the user, let's see where we end up with ;)


author: Barbara Szczesniak
body: [@Petra Cuypers-Oberthuer](/t5/user/viewprofilepage/user-id/5415138) I just went and looked again at the All content and noticed that it only searches within page titles.

I guess what we really want is a way to display the Advanced Search results in the card view.


Tags: cloud

confluence-cloud

preview

result

search
How can I set up an automation to delete blog posts after expriting date?
Asked by Petra Cuypers-Oberthuer:

Hi everyone,

this is my first question. ;) Just starting with it all....

I was wondering, if there is an automation I can use to delete blog posts once a set date is expired?

The goal is to delete blog posts once they get old and irrelevant.

Thanks

Petra


Answers:
author: Levente Szabo _Midori_
body: [Better Content Archiving for Confluence](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=cloud&tab=overview&utm_campaign=gh&utm_medium=cac-comment-294150&utm_source=cac) is a go-to tool for automating [Confluence content lifecycle management](https://www.midori-global.com/blog/2023/01/18/confluence-content-lifecycle-management?utm_campaign=gh&utm_medium=cac-comment-294150&utm_source=cac) actions.

It allows you to set up rules (simple or complex) to automatically set page status and act on pages or blogs in a certain status like [sending notifications](https://www.midori-global.com/blog/2023/05/24/confluence-notification-and-reminder-to-page-owners?utm_campaign=gh&utm_medium=cac-comment-294150&utm_source=cac) or automatically deleting/archiving pages.

For your use case:

1. Set up a [Confluence page status](https://www.midori-global.com/blog/2023/04/28/confluence-page-status?utm_campaign=gh&utm_medium=cac-comment-294150&utm_source=cac) like "Ready to Delete" and set it for a certain date or a recurring value
2. Set up an [automation](https://www.midori-global.com/products/better-content-archiving-for-confluence/cloud/documentation/configure/automation-schemes?utm_campaign=gh&utm_medium=cac-comment-294150&utm_source=cac) for every day/week/month to delete blog posts in "Ready to Delete" status

This video is about the archive automation action, but you can select the Delete action instead of the Archive:

*(Please note that Better Content Archiving is a free/paid, supported app and I'm part of the team developing it.)*

comments: author: Petra Cuypers-Oberthuer
body: Thanks [@Levente Szabo _Midori_](/t5/user/viewprofilepage/user-id/570444) , of course there are various integration possibilities. I was wondering if there was a chance to do it with the default system automations.


author: Levente Szabo _Midori_
body: [@Petra Cuypers-Oberthuer](/t5/user/viewprofilepage/user-id/5415138) Let me mention that it's not that obvious! There are not a lot of possibilities to implement this (and many other CLM use cases) especially with built-in options. Automation for Confluence can schedule a rule with the trigger "Delete blogs" and execute it regularly, but I believe not on a set specific date.

Also, I understand you use the Premium edition, but Better Content Archiving offers automations for all tiers, which may came handy for others.


Tags: automation

blog

cloud

confluence-cloud
How can I use automation to return the value from the date field to the ?description? field of a tas
Asked by ???_? ???????:

??? ???????? ????????????? ??????????, ????? ??? ????????? ??????? ??????????? ????? ?????? ? ? ???????? ???????????? ???????? ???? ? ???????. ??? ????????? {{issues.customfield_10111}} ??????-?? ???????? ????? ?? 3 ???? ?????. ???? ???-?? ????? ??????????, ???? ????? ??????????)


Answers:
author: Jim Knepley - ReleaseTEAM
body: As translated by Google:
> To create automation, it is necessary that when the status changes, a new task is created and the date and time value is passed to the description. This expression {{issues.customfield_10111)) for some reason distorts the time by 3 hours ago. If anyone  
> can advise, I would be very grateful

Since you wrote your question in Russian and Moscow is three hours ahead of UTC, I suspect that the custom field is representing UTC.

You can [convert to a different time zone](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/):

```
{{issues.customfield_10111.convertToTimeZone("Europe/Moscow")}}
```

comments: author: ???_? ???????
body: Thank you for your help. This is what you need)


Tags: cloud

jira-cloud
Automation rule with random task selection from JQL search
Asked by ???_? ???????:

How to build automation in such a way that after searching for JQL tasks, one task is randomly selected and a new task is created, for example, "quality check" and the task that was randomly selected from the search is linked to the new one created. Below I'll leave a photo of what it usually looks like now, but I don't know how to make this random selection of one task  

![?????.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/337366iC6DE1190BAEF3D2E/image-size/large?v=v2&px=999 "?????.jpg")


Answers:
author: Jim Knepley - ReleaseTEAM
body: This was [discussed at length last month](https://community.atlassian.com/t5/Jira-Service-Management/Can-Jira-select-a-random-sample-of-issues-for-QA/qaq-p/1419911), I'm sure that that post will steer you in the right direction.

comments: author: ???_? ???????
body: Thank you very much, this is really what I need


Tags: cloud

jira-cloud
Forge - Restrict Jira issue delete operation
Asked by Iyyappan Rasu:

Hi,

I have a custom plugin created for my use case in Jira cloud using a forge that is hosted in my instance, and some of the data are displayed in the issue panel. Now, I would like to restrict the delete operation of the issue when the issue panel displays the data from my plugin.

Tried to leverage the automation to restrict, but no luck.

Tried workflow status properties to disable the option, but this option may cause put in a workload on the workflow if we are going to do the setup for more projects.

so, would like to find a solution to achieve this. any help is much appreciated.


Answers:
author: Singa Selva Sankar
body: [@Kseniia Trushnikova](/t5/user/viewprofilepage/user-id/4593830) can you share your thought on this?


Tags: atlassian

cloud

forge

jira-cloud
jira:uiModifications when creating a new subtask from the list of issues
Asked by SergioA:

Hi, we have developed a **jira:uiModifications** module with Forge. When creating a subtask, this module populates some fields depending on the parent issue. For instance, when opening the subtask's creation form from the epic's detail, the epic's components will be populated to the subtask by means of the Forge module:

![Captura1.PNG](/t5/image/serverpage/image-id/337343iFAAD415797C19D37/image-dimensions/447x273?v=v2 "Captura1.PNG")

However, when creating a subtask from the list of issues by means of the + icon, nothing happens:

![Captura02.PNG](/t5/image/serverpage/image-id/337347iA7BFB4176F7778E5/image-size/large?v=v2&px=999 "Captura02.PNG")

Does jira:uiModifications module support this specific form?

Thanks!


Answers:
author: L?gia Zanchet
body: Hello Sergio  

Thank you for the information!  
The team that will be able to provide you with accurate information is the development team.  
you can post your question in <https://community.developer.atlassian.com/>   

Thank you


Tags: cloud

forge-ui

jira-cloud
administration using saml sso
Asked by warecm43:

I've just set up my Jira Datacenter and Confluence Datacenter sites to use SAML SSO. It works fine to log into the system.

When I try to go to the Administration pages of the sites, I'm still being prompted for username and password. Is this normal behavior? Is there a way to have Jira and Confluence use SAML SSO for authenticating to the admin functions pages?


Answers:
author: Kseniia Trushnikova
body: Hi [@warecm43](/t5/user/viewprofilepage/user-id/624291),

You can disable password confirmation before accessing administration functions by updating the [jira-config.properties](https://confluence.atlassian.com/adminjiraserver/advanced-jira-application-configuration-938847847.html) file. Check out the article [Configuring secure administrator sessions](https://confluence.atlassian.com/adminjiraserver/configuring-secure-administrator-sessions-938847890.html) for more details.

comments: author: warecm43
body: Thank you. That works great for Jira.

Do you know if I can apply the same logic for Confluence? Make a confluence-config.properties file with a confluence.websudo.is.disabled = true value?


author: Kseniia Trushnikova
body: [@warecm43](/t5/user/viewprofilepage/user-id/624291), here's a guide for Confluence: [Configuring Secure Administrator Sessions](https://confluence.atlassian.com/doc/configuring-secure-administrator-sessions-218269595.html). You can disable secure administrator sessions from the admin tab.


Tags: datacenter

jira-server

server
issueFunction in issuesInEpics() but with filters
Asked by Matias G Labrana:

Hello everyone,

Basically I would like to use issueFunction in issuesInEpics() with a filter include.  
The filter is a group of specific Features under certain conditions, that I want to see the issuesInEpic(). I want to see a way to use this funcion through my filter to automatize the process and not paste ID by ID manually as are appearing new features when are matching my conditions of the filter

It is possible or exist other way to achieve the same result?

Regards and thanks in advance!


Answers:
author: Hans Polder
body: [@Matias G Labrana](/t5/user/viewprofilepage/user-id/5465051) ,

From the terms you're mentioning, I'm assuming you're using ScriptRunner in your environment?

Steps to solve this:

1) Create a filter for the Features that you want to be the 'parents' to find the children for

2) Create a second filter: "issueFunction in issuesInEpics("filter=10600")" \>\> where 10600 = the filterID of the first filter.

This should work!

comments: author: Matias G Labrana
body: Hey Hans thanks for the answer

Unfortunately I am not using, so appears me an error when I am doing in that way.

Regards


author: Hans Polder
body: Then, I'm afraid that it's not possible. The 'issuefunction' part is a feature delivered by ScriptRunner and not natively present in Jira.

See more information here: <https://confluence.atlassian.com/jiracoreserver/advanced-searching-fields-reference-939937719.html>

As you can see, with native Jira you can only search for:

"Epic Link" = \<specific issue-key\>

OR

"Epic Link" = \<summary of specific issue\>


author: Matias G Labrana
body: Thanks as I was reading this is an Issue.

Can exist other way to arrive to this result?


author: Hans Polder
body: I don't know of another way (other than using ScriptRunner), but maybe someone else on the Community would know. Hang in there!


Tags: data-center

jira-data-center

jql
crossed out/strikethrough key
Asked by Mika Hotti:

When epic is updated key is crossed out in any status. That is something I really don?t want to happen. It is causing many problems for me (I am quite new Jira Admin). Is it because for some (historical) reason in our organisation users want to update resolution manually? Because of that resolution field is active. Does Jira think that resolution is manually updated when epic is updated eventhough resolution field value is not changed?

We just updated the version to current 9.12.8 and I think that this issue came with that update. Our previous version was quite old and it?s support ends next Autumn.

I found a page which supports my thinking but I am not so sure about it:

<https://support.atlassian.com/jira-software-cloud/docs/choose-when-subtasks-and-linked-issues-have-a-strikethrough/>

So should I define resolution in workflow and deny all manual adjustments?

Mika


Answers:
author: Hans Polder
body: [@Mika Hotti](/t5/user/viewprofilepage/user-id/4979703) ,

From which version prior to 9.12 did you upgrade?

Strikethrough of issue keys indeed happens when the resolution is set to any value other than the system default 'Unresolved' (or: empty).

The Resolution field should indeed only ever be filled once the ticket is resolved (and closed), not during the workflow.

See some more information here as well: <https://confluence.atlassian.com/cloudkb/best-practices-on-using-the-resolution-field-968660796.html>

comments: author: Mika Hotti
body: Thanks!

Your comments solve the problem. I already had post function to update resolution when issue is done. I took resolution away from all screens so there is no more possibility to make that mistake. I added clear resolution transition to epic workflow so i can fix all mistakes we have in Jira. That is improving quality of our Jira data also.

I think it is not because the update but because the way some of our user are using Jira. I didn't find previous version easily because my technical colleague is on summer holiday.

Greetings from land of Santa Claus,

-Mika


author: Hans Polder
body: Happy to hear that ? came early this year :)

Regards,

Hans


Tags: data-center

jira-data-center

jira-server

server
My stories in a board does not link up to the shared board
Asked by Shiny Rajadurai:

I have linked a project board say A to another board say B . The board B is used as the sprint board. However the stories from board A does not show up in B , the sub tasks, tasks and bugs show just not stories. There are stories from other boards in B. I can see the stories in board A in the current sprint too. How can I resolve this issue?


Answers:
author: Oday Rafeh
body: Hi [@Shiny Rajadurai](/t5/user/viewprofilepage/user-id/5420227)

Welcome to the community,

Navigate to **Board Settings** \> **General** \> **Filter Query**. Verify that the JQL query includes all the necessary project keys and issue types

for example: "**project in (A, B) AND issuetype in (Story, Task, Bug, Sub-task)**"

![2024-07-23 15_17_11-Atlassian Internal.png](https://community.atlassian.com/t5/image/serverpage/image-id/337340iF3C3CDA3BD2F4439/image-size/large?v=v2&px=999 "2024-07-23 15_17_11-Atlassian Internal.png")

comments: author: Shiny Rajadurai
body: Hi [@Oday Rafeh](/t5/user/viewprofilepage/user-id/5172837) , Thanks for your reply, Unfortunately that does'nt work.


Tags: cloud

jira-cloud
Problem with Asset Filtering on Field
Asked by Dominik Hebestreit:

Hello

I have a question I am currently setting up our asset management.

I now need the following field for various reasons -\>

Location Devices:

All devices from the location where the USer is located should be displayed here.

Example: Person A has the location New York.  
If person A presses the field, all devices in the New York location should be listed.

I currently have two schemes

1) AD Azure (from a plugin) with the object types Users Locations

2) IT Asset Management with several object types.  
Here there is an attribute 'User' which is of the type 'Users'.  

Does anyone have an idea how I can realise this?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Dominik Hebestreit](/t5/user/viewprofilepage/user-id/5375048) and welcome to the community,

In my case the following AQL did the job:

```
objectType in objectTypeAndChildren(Infrastructure) and object having outboundReferences(objectType = Location and object having inR(objectType = Employee and "Jira User" = currentReporter()))
```

Keep in mind that my config was the following:

* I have an abstract object type called Infrastructure
  * Below infrastructure I have the children object types such as laptops, monitors, mobile phones etc (all IT things that can be assigned to users)
  * These children have an object attribute of Location
* Location is an objecttype with just the name
* I have another object type called Employee.
  * Within the Employee object type I have an object attribute of Location
  * I have another attribute of type User called "Jira User"

Now based on your setup you might want to adjust the above AQL. On my instance and based on my config it works as expected.

Let me know if you have got this!

comments: author: Dominik Hebestreit
body: Hey [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197)

You are a legend!!!

This looks very good!!


author: Alex Koxaras _Relational_
body: Nice to know that [@Dominik Hebestreit](/t5/user/viewprofilepage/user-id/5375048)!

If that solved your problem, kindly accept my answer in order to help others in the community with similar questions.

Cheers!


Tags: asset

cloud

jira-cloud
Can i add colours in the tickets of my team-managed project in jira?
Asked by Mathijs Gast, de:

Can you add a colour into a jira ticket in a team managed project?


Answers:
author: Hans Polder
body: [@Mathijs Gast, de](/t5/user/viewprofilepage/user-id/5550598) ,

Can you give a bit more context? Maybe a screenshot? Where would you like to see colour specifically?

comments: author: Mathijs Gast, de
body: So in these tickets in my team managed project I want to see colors on the front of the ticket (so you see it directly). I would love to know if this is possible and how I can implement this in my board/tickets!


author: Hans Polder
body: [@Mathijs Gast, de](/t5/user/viewprofilepage/user-id/5550598) ,

If I understand you correctly, you're talking about 'Card Colors' like they exist in company managed projects. When I check out a team-managed project myself, I can only find 'Card cover images'. You could do some fancy Automation hacking that uploads a small banner-type image with 1 color to show that on the board.

Or, you could create a new board in a different (company managed) project, include your team-managed project in the filter, and see if you succeed there. I won't test it out myself as it clearly is against the way Atlassian intended it to be used (the single board in your team-managed project) - so you can expect some odd behavior along the way ;)


author: Hannes Obweger - JXL for Jira
body: Hi [@Mathijs Gast, de](/t5/user/viewprofilepage/user-id/5550598),

welcome to the community!

This may not be exactly what you're looking for, but just to put it out there:

If you're open to solutions from the Atlassian Marketplace, you may want to have a look at the app that my team and I are working on, [JXL for Jira](https://marketplace.atlassian.com/apps/1224710?hosting=cloud&tab=overview&utm_source=atlassian-community&utm_medium=referral&utm_content=2762919).

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you'd do in e.g. Excel or Google Sheets. It also comes with a number of advanced features, including conditional formatting. With conditional formatting, you can define conditions on your issues, and if these conditions are fulfilled, set a particular background and text color.

This is how it looks in action:

![conditional-formatting-delivery-status.gif](https://community.atlassian.com/t5/image/serverpage/image-id/339836i4538F10A6396E08B/image-size/large?v=v2&px=999 "conditional-formatting-delivery-status.gif")

(This conditional formatting is based on a custom field *Delivery status -*but it could also be based on any other field.)

Conditional formatting also works in combination with JXL's other advanced features, such as support for configurable *issue hierarchies* , to *issue grouping* by any issue field(s), or *sum-ups*.

Any questions just let me know,

Best,

Hannes


Tags: cloud

jira-cloud

jira-service-management
New status created but showing strikethrough
Asked by Christine Lamonde:

I created a few new status. All are working fine except one. The one called "With TRU" shows with a strikethought (once we add With TRU, Actions moves to the right and Done is added). How can I change that so when I select with TRU, it doesnt flip to done.

![Done SC.png](https://community.atlassian.com/t5/image/serverpage/image-id/337329iA2FB23DEC3FEA107/image-size/large?v=v2&px=999 "Done SC.png")![In Progress SC.png](https://community.atlassian.com/t5/image/serverpage/image-id/337330i0F44EE8211996A7C/image-size/large?v=v2&px=999 "In Progress SC.png")![log SC.png](https://community.atlassian.com/t5/image/serverpage/image-id/337331iB5217BABF0CF5354/image-size/large?v=v2&px=999 "log SC.png")


Answers:
author: Hans Polder
body: [@Christine Lamonde](/t5/user/viewprofilepage/user-id/5460036) ,

The 'Done' value you're seeing, is the 'Resolution' of the ticket. Somehow, it's being set for this ticket once it moves to status 'WITH TRU'.

Can you confirm this by creating a few test tickets and moving them to this status from different other statuses (if possible), to see if this behavior happens every time?

The cause for this behavior will likely be one of these threereasons:

1. In the workflow there is a 'Post Function' that sets the Resolution
2. The ticket was closed before (with Resolution 'Done'), and then reopened, but in that reopen transition there was no 'clear Resolution' post function, causing the Resolution to be unchanged
3. There could be an Automation Rule that automatically does this, based on a transition to the 'WITH TRU' status.
   1. You could validate this by opening the ticket in question in the full view, then on the bottom right open the 'Automation' section, refresh the details and see if there is a green 'tick' that shows that an Automation Rule touched this ticket.

comments: author: Christine Lamonde
body: morning Hans, figured it out. I had a check box "set resolution" on that status. All good now for new tickets (old ticket still have strike but thats ok. Appreciate the help


author: Hans Polder
body: [@Christine Lamonde](/t5/user/viewprofilepage/user-id/5460036) ,

Happy to hear it was fixed! You can bulk edit old tickets to solve the strikethrough-issue, or simply add a few 'Clear Resolution' post functions to transitions moving away from the 'WITH TRU' status, so things will clear themselves out. Or, just wait until these tickets are really resolved/closed and then it will also be sorted.

If you don't need more help, it would be helpful if you can select the 'Accept answer' button above, then the question will be marked as Resolved and other helpers won't need to open it to see if they still need to help out ;)


Tags: cloud

jira-cloud