youngmon/atlassian-qna huggingface dataset:
Confluence Automation doesn't work when the page uses a template
Asked by Callum Long:

I'm using the automation that adds a label to a page when the criteria are met (after you publish a page).

![image.png](/t5/image/serverpage/image-id/291800iF0630D3BEEBCB743/image-size/large?v=v2&px=999 "image.png")

As you can see below, this works the first time when I'd created a new page, entered the title Strategy2 and published.

The second time when created a new page, selected a template, entered the title Strategy2 and published, it did not work and No Actions Performed.

![image.png](/t5/image/serverpage/image-id/291801i55593C937C92C3F9/image-size/large?v=v2&px=999 "image.png")

Any help would be appreciated!


Answers:
author: Steve Goodwin
body: Looks like you're using the Page Published trigger. This trigger only fires when the page is created the first time. Instead, suggest using the Page Edited trigger. This fires each time a change is made.


author: Barbara Szczesniak
body: [@Callum Long](/t5/user/viewprofilepage/user-id/5365076) Welcome to the Atlassian Community!

Let me start by saying that I have no experience using Confluence Automation. Something occurred to me while reading your question, though, so I will ask for this clarification that may then help someone familiar with automation answer you:

Are you naming your new page with the same exact title as the first page?

If so, you may be having an issue because you cannot have 2 pages with the same name in the same space---it may be interfering with Confluence seeing it as a new page.

comments: author: Callum Long
body: [@Barbara Szczesniak](/t5/user/viewprofilepage/user-id/5187859) Hi Barbara. Good idea but I did consider this and deleted the page in between each test.

In fact Confluence wouldn't let me publish a page with the same name as an existing page, which is how I know I deleted it. Thanks for the suggestion nonetheless, this is my first time playing with Automation so I'm not much further ahead than you!


Tags: cloud

confluence-cloud
Splitting the value of a field using Table Filter and Charts
Asked by Craig.Harley:

2nd basic question of the day

I am returning a list of values in a table that are split into 4 categories looking at the raw data. the format is as follows

create-aaa

read-bbb

update-ccc

delete-ddd

create-eee

read-fff

I want to be able to show the info as a simple chart for the totals of the 4 categories create, read, update and delete, so in the example above i would see

create = 2, read=2, update=1 and delete=1

is there a simple way of doing this without going into complex CQL in the table transformer macro?


Answers:
author: Tim Kopperud
body: @Hi [@Craig.Harley](/t5/user/viewprofilepage/user-id/4615003), will this code example help solving the problem?
>
> ```
> SELECT ColA::string->split("-")->0 as res 
> FROM T*
> ```

#### Source looks like this {#toc-hId-289486235}

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

#### Result looks like this: {#toc-hId--1517968228}

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

TimK

comments: author: Craig.Harley
body: Thats perfect, thank you ever so much Tim


author: Stiltsoft support
body: Thank you [@Tim Kopperud](/t5/user/viewprofilepage/user-id/492874) for your help, couldn't have given a better example ourselves!


Tags: cloud

confluence-cloud

filter

table
Embedded files not opening
Asked by Bharti Bachani:

I converted my pages to recent version of Confluence. However, my embedded files for example .pdf files are not opening. Kindly help with resolution.


Answers:
author: Sanjen Bariki
body: Hi [@Bharti Bachani](/t5/user/viewprofilepage/user-id/5365039) ,

Welcome to Atlassian community!

Could you please share the error screenshot, what is the error showing..?

It will better to give the solution properly.

Regards,

Sanjen


Tags: cloud

confluence-cloud
Data linkage from confluence to jira
Asked by ?? ?:

I would like to link the data written in the confluence table to JIRA. I think it would be difficult with the standard functions, so are there any add-on apps that can make this possible?


Answers:
author: Ste Wright
body: Hi [@?? ?](/t5/user/viewprofilepage/user-id/4679103)

Can I clarify what kind of link you're looking to create between Jira and Confluence?

An example of what you're trying to achieve would be beneficial here :)

Ste


Tags: cloud

confluence-cloud
Shortcut W to report time in tempo with time from to possible?
Asked by Stefan Zilz:

In Germany we need to report our time giving start and end time. When using tempo to add an entry I have the clock activated that would give me the option to enter start / end time (not sure if this is customization thought). However when I use the shortcut w from within a task, I only get the option to enter duration but not from to time.   

Is there a way to get from to time option for the shortcut w as well ?


Answers:
author: Susan Wu
body: Hi [@Stefan Zilz](/t5/user/viewprofilepage/user-id/5520836) ,

Please check if you have selected the desired options in Manage apps \> Tempo \> Global configuration.

<https://help.tempo.io/timesheets-dc/latest/configuring-logging-time-options-tempo-server>

Hope this helps.

BR,  
Susan Wu  
Tempo Product Expert


Tags: data-center

jira-data-center

keyboard-shortcut

tempo
I have to delete the worklog after cloning the Epic issues using Epic clone usingcustomscriptlistner
Asked by mummareddy supriya:

Need to delete the work LOg after cloning issues, specifically for Epic, Story, and Subtask that were linked to Epic via Custom script Listener.If anyone has any ideas on this, please assist me with the script.thanks in advance


Answers:
author: Luka Hummel - codefortynine
body: Hi [@mummareddy supriya](/t5/user/viewprofilepage/user-id/5263828)

I'm Luka from codefortynine.

If you are willing to use a third-party app for cloning, you could try our [Deep Clone for Jira](https://marketplace.atlassian.com/apps/1218652?utm_source=atlassian&utm_medium=referral&utm_campaign=deepj-new-reach-com-2726900). Deep Clone can be configured so that only values you want are cloned. Deep Clone won't clone work logs as long the option isn't checked (which it isn't by default).

![2024-06-18 16-07.png](https://community.atlassian.com/t5/image/serverpage/image-id/330417i3AA0A9395F74ED85/image-size/large?v=v2&px=999 "2024-06-18 16-07.png")


author: Krystian R??ycki
body: I think in this listener that is linking issues you need to check if linked issue has a worklog and if there is any then just delete it using rest API:

<https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklogs/#api-group-issue-worklogs>

comments: author: mummareddy supriya
body: [@Krystian R??ycki](/t5/user/viewprofilepage/user-id/5499607) is it possible to do it through automation rules in JIra to delete the worklog after clone?


author: Krystian R??ycki
body: I think yes with properly described triggers and conditions.

Here you can find more information:

<https://confluence.atlassian.com/automationkb/automation-rule-to-remove-worklog-1252330334.html>


author: mummareddy supriya
body: ![Delete.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/330090i8A23419C83F24BA9/image-size/large?v=v2&px=999 "Delete.PNG")

[@Krystian R??ycki](/t5/user/viewprofilepage/user-id/5499607) I Applied this Automation Rule ,In place of webhook url i used <https://your-domain.atlassian.net/rest/api/3/issue/projectkey/worklogid>. in Header i provided useremail:personal token .but its not working and i'm facing below error when i gone through the logs ,may i know the reason please . Thanks in advance![error.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/330091i4660D4ADFDCF7712/image-size/large?v=v2&px=999 "error.PNG")


author: mummareddy supriya
body: ![header.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/330097i8B72639041EC20FF/image-size/large?v=v2&px=999 "header.PNG")

Why header is not allowing Delete option ,If any one have idea on this issue please let me know please .thanks in advance


Tags: cloud

jira-cloud
cant add new team member member
Asked by Phong Ho:

When I add a new member it says i need to upgrade my plan. I've never had this issue before. Please help


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

Indeed you have reach your paid seats plan and you need to either upgrade your plan, or remove existing users. To remove existing users follow the instructions found here: <https://support.atlassian.com/user-management/docs/remove-product-access-for-users/>


author: grow speedly
body: It sounds like you're encountering a limitation related to adding new members to your plan.


author: Phong Ho
body: It says License Limit reached and I've tried to revoke about 5 of our users already and same error

comments: author: Lukas Hametner
body: Maybe you didn?t fully revoke them, maybe you did it just from the one Project?


Tags: cloud

jira-cloud
How we can configure JIRA for real time SLA monitoring, reporting and alerting
Asked by Sandeepsai:

How we can configure JIRA for real time SLA monitoring, reporting and alerting


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Sandeepsai](/t5/user/viewprofilepage/user-id/3932927)

Jira doesn't come with a built in SLA monitoring functionality. On the other hand, Jira Service Management does. If you are referring to JSM, then follow these instructions <https://support.atlassian.com/jira-service-management-cloud/docs/create-service-level-agreements-slas/>

If you are referring to Jira, then you need to install an app from the marketplace. You can start by trying out a few [https://marketplace.atlassian.com/search?hosting=cloud\&query=sla](https://marketplace.atlassian.com/search?hosting=cloud&query=sla) and see which one suit your need. Then you have to follow the instruction of the vendor for setting it up.

Let me know if that helped.


author: Vitaly_Berezovsky_SaaSJet
body: Hi [@Sandeepsai](/t5/user/viewprofilepage/user-id/3932927)

I can recommend the [SLA Time and Report for Jira](https://marketplace.atlassian.com/apps/1220741?utm_source=Atlassian_Community&utm_medium=refferal&utm_campaign=Comment_Slack-Notifications-with-Jira-SLA_20240619) add-on developed by our team.

<br />

You can use the SLA Grid in the add-on to view SLA information in real-time.

![0f8522c6-acfa-4730-a815-7e81a330e367.png](https://community.atlassian.com/t5/image/serverpage/image-id/330565iE1F250100E942412/image-size/large?v=v2&px=999 "0f8522c6-acfa-4730-a815-7e81a330e367.png")![165d054f2-41e4-497d-b755-6e7d3bd4300b.png](https://community.atlassian.com/t5/image/serverpage/image-id/330566i5C686B9A0A51B2A3/image-size/large?v=v2&px=999 "165d054f2-41e4-497d-b755-6e7d3bd4300b.png")

You can receive alerts of SLA breaches in the comment section of a ticket or via Slack. This can be configured in SLA Settings.

![Screenshot (27).png](https://community.atlassian.com/t5/image/serverpage/image-id/330567iFF2199CDFE9D6706/image-dimensions/343x153?v=v2 "Screenshot (27).png")


author: Walter Buggenhout
body: Hi [@Sandeepsai](/t5/user/viewprofilepage/user-id/3932927),

SLA's are part of Jira Service Management. You can read more about the topic from [this collection of support articles](https://support.atlassian.com/jira-service-management-cloud/docs/create-service-level-agreements-slas/).

Hope this helps!

comments: author: Sandeepsai
body: is there any workaround for Jira like possible with Automation rules or something ?

or we need to install a addon only ?


Tags: cloud

jira-cloud

report

sla

time-to-sla
Epic/ subtasks vs Story/ subtasks
Asked by Tatyana:

If a story (parent issue) is meant to include subtasks (child issues) ( eg a global feature includes sub features) , what would be a user story to describe a parent issue? My understanding is that a story should sounds - as I user I want to be able to do X to achieve Y. In case of a parent tickets it sounds to me - As a user I want to be able to do X1, X2...X6 to achieve Y1, Y2...Y6 - which does not sound right to me.  
What are your thought?


Answers:
author: Danut M _StonikByte_
body: Hi [@Tatyana](/t5/user/viewprofilepage/user-id/5518684),

A Story is a parent ticket in Jira, and it describes an end-to-end functionality to be implemented in the product, but small enough to be completed in a sprint (or two). A story can be a stand-alone functionality, or it can be part of a larger feature (Epic in Jira). Stories are divided in sub-tasks, which usually represent actions (work) to be performed for implementing that story / functionality.

Hope this helps.

Danut

comments: author: Tatyana
body: How is the logic for Epic/ Story different from Story/ subtasks in terms of functionality delivery, testing, anything tangible?


author: Danut M _StonikByte_
body: Hi [@Tatyana](/t5/user/viewprofilepage/user-id/5518684),

The main difference is that Epic \> Story is at a higher level than Story \> Sub-tasks, which means that Epic \> Story is meant for defining and planning work to do (at a higher level), while Story \> Sub-task is for planning/executing the work within a story (at micro level).

So some differences are:

* The stories are higher in hierarchy than sub-tasks. In Jira, issue category is Epics \> Story, Task, Bugs \> Sub-Tasks
* An epic can have stories from multiple projects, while a story can have only its own sub-tasks (from the same project the story belongs to)
* Stories are visible in backlog when means you can plan/rank them; sub-tasks are not visible in backlog
* Jira progress reports (sprint burnown, velocity) do not count sub-tasks and their estimates; they only track stories.

Hope this helps.

Danut.


author: Tatyana
body: Thank you


Tags: child

cloud

jira-cloud

parent

user-story
Testing a parent and child issues.
Asked by Tatyana:

Hello Everyone,

The question is about testing for a parent epic and subtasks (features).

<br />

Given:  
One epic with 6 subtasks .  
Each subtask is developed and considered to be done separately. The whole epic is delivered (done) only all the subtasks are done. The DoD - all tests are positive, unhappy path testing failed for each subtask.

The problem :

Epic testing.

The epic meant to be delivered only when all six subtasks ( features) delivered without failing - which brings the number of all possible testing scenarios when more than one issue is resolved and the others are not ( in different combinations) coming to 126.  

Question - is this the right approach to create issues ( a parent epic and subtasks) and conduct testing ( testing unhappy paths are mandatory)?  

My question might be duplicating a question raised earlier:

<https://community.atlassian.com/t5/Jira-questions/Can-Epics-have-Sub-Epics/qaq-p/1400372>


Answers:
author: Nicolas Grossi
body: [@Tatyana](/t5/user/viewprofilepage/user-id/5518684) Welcome! Epics are the top issue type, you might use epics to identify the "abstract" feature, that epic will be divided on several US and each US might 1 to many subtasks (or child issues).

HTH

Nicolas


Tags: cloud

epic

jira-cloud

parent

testing
How to Find the Field ID for a Custom Field ("Remediation Plan") in Jira?
Asked by Abhinav Kumar:

Hello Jira Community,

I am currently working on a script to automate the creation of release notes by pulling data from Jira. One of the critical pieces of information I need is the "" field, which seems to be a custom field in our Jira instance.

Despite downloading the JSON format of a Jira ticket's fields, I have been unable to locate the ID for this "Remediation Plan" field. Unfortunately, I do not have administrative rights to directly inspect the field configurations.

Could anyone guide me on how to find the field ID for this custom field? Is there an API endpoint or a method that can be used to identify the field ID for custom fields without needing administrative access?

Any help or pointers would be greatly appreciated.

Thank you!

Best regards,

![Screenshot 2024-06-13 174903.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/329829iF02EA1A714069CFA/image-size/large?v=v2&px=999 "Screenshot 2024-06-13 174903.jpg")


Answers:
author: wkennedy
body: I like to keep a table on hand. This requires a bit of python:  

```
import requests
import pandas as pd

# Replace these variables with your Jira instance URL and your API token
jira_instance = 'https://yoursite.atlassian.net'
api_token = 'YOURAPIKEY'
email = 'user@example.com'

# API endpoint for fetching all fields
api_url = f'{jira_instance}/rest/api/2/field'

# Making the GET request to the Jira API
response = requests.get(api_url, auth=(email, api_token))

# Check if the request was successful
if response.status_code == 200:
fields = response.json()

# Extracting custom fields
custom_fields = [{'Field ID': field['id'], 'Field Name': field['name']} for field in fields if field['custom']]

# Creating a DataFrame
df = pd.DataFrame(custom_fields)

# Display the DataFrame
print(df)

# Save the DataFrame to a CSV file
df.to_csv('jira_custom_fields.csv', index=False)
else:
print(f'Failed to fetch fields: {response.status_code} - {response.text}')
```

*** ** * ** ***

<br />

<br />

![Screenshot 2024-06-13 at 9.29.47?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/329834i0C55698D7B11DF02/image-dimensions/231x150?v=v2 "Screenshot 2024-06-13 at 9.29.47?PM.png")


Tags: cloud

custom-field

database

jira-cloud

metadata

rest-api
Is there a way to pre-populate Original Estimate field with a default number?
Asked by selina.john:

Hello **All**,

I would like to know if there is a way to pre-populate "**1 minute**" into the Original Estimate field under Jira issues when they are created?

I will provide a screenshot of the field I am referring to below.

Much appreciated to whoever can provide me a solution for this question.

Thank you!

![original estimate.PNG](/t5/image/serverpage/image-id/329818i1274FF5CD813733C/image-size/large?v=v2&px=999 "original estimate.PNG")


Answers:
author: Jon Platt
body: You should be able to do that via an Automation rule.![1m Automation.png](https://community.atlassian.com/t5/image/serverpage/image-id/329825iC4B030FDE5A5B387/image-size/large?v=v2&px=999 "1m Automation.png")

comments: author: selina.john
body: Hi Jon,

Thanks for answering my question and for sharing that feature.  

Do you know if there is way to also create this same automation rule to already created (existing) Jira issues that do not have an original estimate field filled in yet? I could not find a way to accomplish this.   

Looking forward to hearing back.

Kind Regards,

Selina


Tags: cloud

jira-cloud
Unable to transition issue after adding "Comment" field as validator for a transition
Asked by Aditya Mulukutla:

Hi,

I added the "Comment" field as required using validator for a transition in a particular workflow in one of my JIRA Company managed software projects.

When I try to transition an issue, I get the "Transition Failed" error notification even after adding a comment to the particular issue.

I am guessing I have to figure out a way to add text to comment field while transitioning the issue. How do I accomplish this? Am I moving in the right direction?

Thanks!


Answers:
author: Sam Spencer
body: When editing the workflow click on the transition and click edit

![Transistion .JPG](https://community.atlassian.com/t5/image/serverpage/image-id/329815i3E21034CAC2A4DC2/image-size/large?v=v2&px=999 "Transistion .JPG")

Then on the next pop-up in the 'screen' drop down choose comment screen

![Comment.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/329819i59D4CBB92EB4ED65/image-size/large?v=v2&px=999 "Comment.JPG")

Do this will make the comment screen appear during the transition


author: Sam Spencer
body: Not sure if it will work buy try - 'Add Transition Screen' and add the Comment screen.

This will make it pop up while transition is taking place

comments: author: Aditya Mulukutla
body: I am fairly new to JIRA. How do I create a screen which will prompt me to add comments? Thank you!


author: Aditya Mulukutla
body: This worked. I created a transition screen and added it to my transition. :)


author: Sam Spencer
body: See my reply above - forgot to put it in the reply section


author: Aditya Mulukutla
body: Thank you Sam. This worked like a charm.


Tags: cloud

jira-cloud
I am having issues with configuring an email handler to create tickets or add comments
Asked by Jacob Milhouse:

I am recieving an error message that looks like this (shown below) when trying to test my configured email handler. Does anyone know how I can resolve this?

![test error message Jira Email Config.png](/t5/image/serverpage/image-id/329812i4CB088386E19708C/image-size/large?v=v2&px=999 "test error message Jira Email Config.png")


Answers:
author: Dave Rosenlund _Trundl_
body: Welcome to the community, [@Jacob Milhouse](/t5/user/viewprofilepage/user-id/5507632) ?

I found this article that mentions this issue for on-prem Jira connecting to MSFT Office email services, but I wonder if it will also provide you with some hints and insights:

#### [IMAP fails with A3 BAD User is authenticated but not connected error](https://confluence.atlassian.com/jirakb/imap-fails-with-a3-bad-user-is-authenticated-but-not-connected-error-in-jira-server-integrated-with-office365-665420269.html) {#toc-hId-345908587}

I hope it helps. If it doesn't, and if someone else doesn't respond with a better answer, you may want to [open a support ticket with Atlassian](https://support.atlassian.com/contact/#/) instead.

Good luck to you,

-dave


Tags: cloud

jira-cloud
Access control : story issue type or new issue type
Asked by Sarthak Sachdeva:

A squad that supports planned enhancement work as well as production support requests needs a way to manage the intake of the prod supp requests. Stakeholders who are not part of the squad will submit production support requests in Jira as Stories or some other issue type. The squad wants to limit the stakeholder's access to create and view access only.

We need to understand the capabilities of access control on the Story issue type or on a new issue type that may be used for this purpose. The preference is to restrict access to Stories so all of the squad's work is managed on the same issue type.

Question : 1)

Answers to the following questions are needed.

1) Can access to the Story issue type be limited to Create and View for a specific group of users?  
(Please include any documentation regarding issue access control)  
2)Can access to a new unique issue type be limited to Create and View for a specific group of users?  
If so, are one of the following options possible?  
-Can this issue type be converted to a Story by a member of the squad with full edit access?  
-Can this issue be updated to indicate a Story as its Parent?


Answers:
author: Trudy Claspill
body: This post is a duplicate of your earlier post to which an answer has already been provided.

<https://community.atlassian.com/t5/Jira-questions/What-are-the-capabilities-of-access-control-on-the-issue-type/qaq-p/2726602>

Coincidentally I have also already addressed those same questions in a post from a different community member.

<https://community.atlassian.com/t5/Jira-questions/Access-control-in-story-issue-type-or-new-issue-type/qaq-p/2722573>


Tags: cloud

jira-cloud