youngmon/atlassian-qna huggingface dataset:
How to Access the same issue in Automation Rule
Asked by Muhammad Moazzam Hassan:

Hi,   

I am editing my issues via branch rule now after the branch I want to access the issue which is last update by this rule. Like there is an option like last created issue by this rule as same I want the issue key of the issue which is last updated by this rule.


Answers:
author: John Funk
body: Hi Muhammad,

It is always best to post a copy of your rule which asking a question like this. Please do that and let us know exactly what you want to see at what step.

comments: author: Muhammad Moazzam Hassan
body: Yes sure you are right.  

PFA  

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


author: John Funk
body: Thank you for sharing. What will you do with that key now? Can you not just add an action after the Edit Issue?


author: Muhammad Moazzam Hassan
body: I will lookup issue on the behalf of that issue key and than update then use their data.


author: John Funk
body: But what EXACTLY are you doing with the key? Where are you putting it with the rule? What field does it interact with?


author: Muhammad Moazzam Hassan
body: Basically what I am trying to achieve is to update the chain of Block issues,  

Like A Blocks B blocks C Blocks D and carry on till 20, but there is a limitation in Jira that the Automation rule will stop after 10 Execution if it is calling itself, when the Due Date change on Issue A then it will update the start date and due date of issue B then C,D... and till the last one, but rule stops after 10th execution.  

So I am trying to update 2 issues in one go, Like.   

Start and Due Date change of B then it will update C via branch then pass the C issue key outside branch then I will create another branch on the basis of the C issue key and Update D,  

By doing this configuration I can update the chain of 20 Issues.


author: John Funk
body: It sounds like you will need multiple rules to accomplish that because you can't next branches inside of each other.


author: Muhammad Moazzam Hassan
body: Yes, you are right.  

But now I have found a solution, the variable value can be accessible outside branch and it can works for me, I think the automation rules has updated because few days back I cannot access the variable value outside the branch.

Thanks.


Tags: cloud

jira-service-management

jira-service-management-cloud
What will happen if I have 250 user license and 251 user logged into JSM.
Asked by Noora Salman:

What will happen if I have 250 user license and 251 user logged into JSM will the system stop working or will it not allow that user to log in.


Answers:
author: Odd_lynice
body: Hi [@Noora Salman](/t5/user/viewprofilepage/user-id/5411938)

Welcome to the Atlassian Community.

The user license question has been answered in this post [What happens if agent license is exceeded but my Software license is within limit?](https://community.atlassian.com/t5/Jira-Service-Management/What-happens-if-agent-license-is-exceeded-but-my-Software/qaq-p/2509737)

Posted by David.

Theodore


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

Technically you couldn't have 251 Active Users, therefore the last person would not be able to log on.

comments: author: Noora Salman
body: Hi John,

Thank you for your response.

I would like to also know how to generate a report in JSM "how many users are active at a time"


author: John Funk
body: You will need to go to Settings \> User Management \> Products to see that.


author: Noora Salman
body: Can I generate a report on how many users are logged in specific day or week or time even.


Tags: jira-service-management

jira-service-management-server

server
RESOLVED Status values are duplicated.
Asked by ???_??_:

The status value is duplicated in the filter condition.  
Why are there confusingly similar status values?  
I want to remove one, how do I go about it?

The description of each status value is as follows.

1. RESOLVED: A resolution has been adopted and is awaiting confirmation from reporters. This is where the issue is reopened or closed.

<br />

2. RESOLVED: Automatically created in Jira Service Management during workflow import.

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


Answers:
author: John Funk
body: Hi [@???_??_](/t5/user/viewprofilepage/user-id/4704901)

This is probably because it is picking up multiple statuses from your Team-managed projects because technically those are different statuses within Jira. If you try just using a single project rule, that might cut down on the values shown.

comments: author: ???_??_
body: Hi,

[@John Funk](/t5/user/viewprofilepage/user-id/7148)

Thank you for answer. :)


Tags: cloud

jira-service-management

jira-service-management-cloud
Dashboard using Atlassian Teams
Asked by Bala Krishna K:

Hello,

I would like to inquire about the possibility of creating dashboards for Atlassian Teams.

The requirement is as follows: I am currently leading a department in my organization, and I would like to have visibility on the number of tickets assigned to my team. This same requirement has been expressed by several other managers within our organization.

Currently, my approach involves creating a filter using User1, User2, User3, etc. However, I am seeking an alternative solution that does not rely on this method.

Thank you in advance for your assistance.


Answers:
author: Marlene Kegel - codefortynine
body: Hello [@Bala Krishna K](/t5/user/viewprofilepage/user-id/5017763),

I am Marlene, product manager of [Quick Filters for Jira Dashboards.](https://marketplace.atlassian.com/apps/1222978?utm_source=atlassian&utm_medium=referral&utm_campaign=apps-new-reach--2586218)

With our app you can create flexible statistics of teams on your Jira Dashboard. It is also possible to filter all Quick Gadgets on your dashboard per team, using a [Quick Controller gadget.](https://documentation.codefortynine.com/quick-filters-for-jira-dashboards/quick-controller?utm_source=atlassian&utm_medium=referral&utm_campaign=apps-new-reach--2586218)

You can [check out the basic functionality of Quick Filters for Jira Dashboards without installation](https://codefortynine-demo.atlassian.net/jira/dashboards/10003?utm_source=atlassian&utm_medium=referral&utm_campaign=apps-new-reach--2586218) on our demo dashboards.

![quick-filters-jira-dashboards_team-statistics.png](https://community.atlassian.com/t5/image/serverpage/image-id/303540iC9E2407E5CD04076/image-size/large?v=v2&px=999 "quick-filters-jira-dashboards_team-statistics.png")


author: Danut M _StonikByte_
body: Hi [@Bala Krishna K](/t5/user/viewprofilepage/user-id/5017763),

Take a look over this article form our blog: [An effective dashboard for Service Desk and Customer Support teams in Jira Service Management](https://blog.stonikbyte.com/2023/05/15/an-effective-dashboard-for-service-desk-and-customer-support-teams-in-jira-service-management/)

By using the gadgets from our [Great Gadgets](https://marketplace.atlassian.com/search?query=great%20gadgets%20agile%20stonikbyte) app you, can build effective dashboards in JSM (like the one below) at the whole team/level but also for individual team members.

![](https://blogstonikbyte.files.wordpress.com/2023/05/image-15.png?w=875)

I hope this helps.

Danut.


Tags: cloud

jira-service-management

jira-service-management-cloud
How to access Asset data in an issue using smart variables in A4J
Asked by Dave Furlani:

We use Jira SM to lodge change management tickets when we do releases. We've recently added Assets and have populated the CMDB so we can now add Affected Services and Systems to these CMs.

What I'd like to do is use an issue transition trigger to fire an A4J rule that populates notification emails, both by listing the Affected Services and Systems (Name) data in the body of the email, and the addressees

Our Object schema is called RAC

In the Schema tree I'm interested in the item/object we've named "System and Software", which is displayed in the issue as a field called "System". The attributes I want from that are "Name", "Custodian", "Primary Internal Contact"

If possible, I'd like to get from the Outbound references, the "Service", "Affected Service" and "Contact" data.

I've tried objects and lookupObjects, but that seems to pull only issue data, not the asset data from the issue

Has anyone been able to achieve what I'm trying to do (which seems like a fairly broadly applicable use case), and if so, what was the smart value syntax and/or actions you used?


Answers:
author: Jeroen Poismans
body: Hi there!

This is what I tested:

![Screenshot 2024-01-23 at 08.07.07.png](https://community.atlassian.com/t5/image/serverpage/image-id/301882i7A804EA8291F39A1/image-dimensions/356x190?v=v2 "Screenshot 2024-01-23 at 08.07.07.png")

* You first need to find the id of the Custom field containing the asset on the issue
* Then use smartvalue:

  ```
  {{customfield_<id of customfield>}}
  ```

* This will by default give you the asset key
* By using dot-notation you can access the attributes on the asset (in this case the "Customer Facing" attribute)

That should fix your first requirement. For the second, that is a bit more complicated as you will have to lookup the linked assets via the **lookupObjects.** You could find those with an AQL like:

```
object HAVING inboundReferences(key IN ({{customfield_10129}}))
```

Then loop over those and do with those related assets what you would like to do. That's how I would approach this.

Hope this helps!

comments: author: Dave Furlani
body: Thanks [@Jeroen Poismans](/t5/user/viewprofilepage/user-id/1708479)

That indeed helps. I was unable to see the customfield ID via the browser inspector, but the API call exposed it for me. I normally try that, so thanks for the reminder.

For those hunting the same - <https://confluence.atlassian.com/jirakb/how-to-find-any-custom-field-s-ids-744522503.html>

The AQL syntax will come in handy too, because I've not played with that at all before.


author: Jeroen Poismans
body: HI Dave,

In addition: If you go to the configuration page of the custom field, you will find the ID in the url ;-)

Regards!


Tags: automation

cloud

jira-server

jira-service-management

jira-service-management-cloud
Make responses to email request in Jira ticket appear in original email request
Asked by teijiro.nishimura:

Right now, if you send an email to our Jira service email, an new ticket is created in our que. The issue is that when we reply to this ticket, the customer does not see our reply in the Jira ticket as a reply in their original email.

Ideally, we would like to be able to reply to customer issues raised through email with the JSM ticketing system. But our customers would like to only see the email thread they started and also make sure that members that are cc'ed to the email also see our reply. Is it possible to make replies in Jira ticket appear as a reply to the customer's original email?


Answers:
author: Eugenio Onofre
body: Hi [@teijiro.nishimura](/t5/user/viewprofilepage/user-id/5411810)

Welcome to the Atlassian Community!

Jira Service Management has email integration features that allow for efficient handling of requests and communication via email. Here are the key steps and considerations for setting this up:

1. **Email channel configuration:** First, ensure that your Jira Service Management project is correctly set up to receive emails. This involves configuring an email channel that automatically creates tickets from incoming emails.
2. **Email handlers:** Jira uses email handlers to process incoming emails. You need to set up an email handler that can understand and appropriately tag or comment on issues based on email content.
3. **Sending replies as email:** To ensure that your replies to Jira tickets are sent as email replies, you need to configure Jira's outgoing mail settings. This includes setting up an SMTP mail server and ensuring that the email notifications are formatted correctly.

The complete documentation for cloud email supporting can be found below:  
<https://support.atlassian.com/jira-service-management-cloud/docs/receive-requests-from-an-email-address/>

Please remember to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio

comments: author: Ben
body: Hi Eugenio, I think you have missed the issue here. The issue here is the reply does not reply to original thread of the incoming email. Instead it creates a new email.

I would also love to know if there is a solution to this.


Tags: cloud

jira-service-management

jira-service-management-cloud
Project - New and To do
Asked by Danielle David:

I have noticed on a lot of our projects we have both status "New and To do"

does everyone use both?

is there an article about the difference and why they should both be kept.


Answers:
author: John Funk
body: Hi Danieele,

These are often just defaults based on a template you may have chosen when creating the project. If those don't really mean anything to you, you can sub them out in the workflow for statuses that have better meaning.

But I would say that when an issue is created it goes into New - because well, it's new. Think of that like Backlog for Software Development projects. Then when you are have triaged it, you can move it to To Do if you are going to work on it. Otherwise you can move it to another status like Canceled or something like that if you are not going to do it.

This way you know which tickets have come in but have not been vetted yet.

comments: author: Danielle David
body: Thanks John :)


Tags: cloud

jira-service-management

jira-service-management-cloud
Calculate the sum of assets in CMDB
Asked by Chrissy Clements:

We have license profiles that consist of several licenses, e.g., our profile is that of a frontline worker, and it contains 0365, viva, defender or similar. Each of those licenses has a cost associated with it.

Is there a way to calculate this license profile's sum within CMDB?


Answers:
author: Chrissy Clements
body: So, after annoying the smartie pants over in support, it turns out this is entirely feasible!  

You'll need to use floats or integers on the attributes :)

<https://confluence.atlassian.com/jirakb/how-to-sum-up-attribute-value-of-multiple-assets-in-an-assets-objects-field-and-update-it-to-another-jira-field-using-automation-for-assets-1167700732.html>


author: Eugenio Onofre
body: Hi [@Chrissy Clements](/t5/user/viewprofilepage/user-id/4758841)

Unfortunately, Atlassian Assets doesn't automatically sum up related costs. You'll need to manually calculate the total cost by adding up the costs of each linked license.

Alternatively, if you're comfortable with scripting, you could use Atlassian's API or scripting features to automate this calculation.

<https://developer.atlassian.com/cloud/assets/rest/api-group-object/#api-object-id-attributes-get>

Please remember to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,  
Eugenio


Tags: cloud

jira-service-management

jira-service-management-cloud
Repo is missing branch types
Asked by Chris Hankey:

I created a new repository \& it is missing the branch types. See the photo below. My new report does not have a branch type drop down. How do I enable this?

![2022-09-17 19_36_26-Create branch - Bitbucket.png](https://community.atlassian.com/t5/image/serverpage/image-id/216500i8E58E30B1488248D/image-size/large?v=v2&px=999 "2022-09-17 19_36_26-Create branch - Bitbucket.png")


Answers:
author: Erez Maadani
body: Go to Repository/Project Settings -\> Branching Model =\> Make sure the Branch Prefixes check boxes are checked


Tags: bitbucket-server

server
Not receiving email to complete 2FA for BitBucket
Asked by Gil.Elhayani:

I'm trying to setup 2FA on my bitbucket account, however I'm not receiving the confirmation email after scanning the QR code and successfully submitting the authentication code, please assist! {#toc-hId--525953775}
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Answers:
author: Mark C
body: Hi [@Gil.Elhayani](/t5/user/viewprofilepage/user-id/5033641),

Welcome to the community.

Would it be possible for you to check the following on your end?

1. Make sure your phone timezone is matched to your Atlassian account's timezone - (Go to this link <https://id.atlassian.com/manage-profile/profile-and-visibility> under "Local time")
2. If you're not using the [Duo app](https://duo.com/product/multi-factor-authentication-mfa/duo-mobile-app), could you try to install it on your mobile phone and use that instead?

Let me know how it goes.

Regards,  
Mark C

comments: author: Gil.Elhayani
body: Hey ,

thanks for the instructions , but i'm still not getting the confirmation email for the authentication. the app says it connected successfully and nothing happens.


author: Gil.Elhayani
body: [@Mark C](/t5/user/viewprofilepage/user-id/1210823) ?


author: Mark C
body: Hi [@Gil.Elhayani](/t5/user/viewprofilepage/user-id/5033641)  

I checked our internal logs for your email to see if it is listed in our email suppression list but it is not there.  
Based on our logs, we're also successfully sending emails to you.  

Could you possibly check if the confirmation email is caught up in your junk or spam folder?

Regards,  
Mark C


Tags: bitbucket-cloud

cloud
Bitbucket pipeline fails (ftp) - Error: server response timeout
Asked by Pascal Bieri:

My pipeline is not working with the following error:

    * Connected to sftp.domain.com (157.90.40.40) port 5544 (#0)< SSH-2.0-sFTP Server ready.* server response timeout* Closing connection 0curl: (28) server response timeout

Between the "Server ready" and the timeout message there are more messages that create something like a wave. My pipeline yaml:

    image: php:7.4    pipelines:     branches:       master:         - step:             name: Deploy to production             deployment: production             script:               - apt-get update               - apt-get -qq install git-ftp               - git ftp init -vv --user $LiveFTPUsername --passwd $LiveFTPPassword ftp://sftp.domain.com:5544

I also tried with different ports and with ftp but i get errors all the time. Do you have an idea what the problem could be?


Answers:
author: Syahrul
body: Hey [@Pascal Bieri](/t5/user/viewprofilepage/user-id/5033578)

Welcome to the community!

The error message you share seems to be a generic error message that happens when a connection unable to establish between client and server.

In this case, the pipeline received a timeout from your FTP server. So I wonder if your FTP server is accessible externally. I would suggest you verify

* If your server is accessible externally from your end or another machine with the port given
* Does your server behind a firewall? If yes, have you whitelist our IP from the list [Bitbucket IPs list for pipeline](https://support.atlassian.com/bitbucket-cloud/docs/what-are-the-bitbucket-cloud-ip-addresses-i-should-use-to-configure-my-corporate-firewall/#Valid-IP-addresses-for-Bitbucket-Pipelines-build-environments)

That said, I believe you'll have to configure your git FTP before running the init as per the documentation [here](https://github.com/git-ftp/git-ftp)

```
# Setupgit config git-ftp.url "ftp://ftp.example.net:21/public_html"git config git-ftp.user "ftp-user"git config git-ftp.password "secr3t"# Upload all filesgit ftp init
```

Do try to set up the config first before FTP init the repository. Let me know how it goes.

Cheers,  
Syahrul

comments: author: Pascal Bieri
body: Thx [@Syahrul](/t5/user/viewprofilepage/user-id/744536)

Im just checking with the hosting provider. It just happens on a specific one, might be a problem with the firewall.


Tags: bitbucket-cloud

cloud
CI trigger is not working in azure devops for powerapp pipeline
Asked by Dev raj:

**CI trigger is not working in azure devops for powerapp pipeline**

I have done changes in solution and click on publish customization but build not triggered

even I have enabled CI trigger button


Answers:
author: Theodora Boudale
body: Hi [@Dev raj](/t5/user/viewprofilepage/user-id/5033551),

Are you using Azure DevOps with a Bitbucket Cloud repo? You don't mention anything about Bitbucket and I don't see a Bitbucket Cloud account in our system with your email.

In case you have a Bitbucket account with a different email and you use Azure DevOps with a Bitbucket Cloud repo:

Go to **Repository settings** for this repo in Bitbucket Cloud \> select **Webhooks** , find the Azure webhook, select **View requests** for this webhook, and then select **Enable History**.

Then perform an action that should trigger a new build, and check if you can see the webhook request on the page where you enabled history.

If there is a request with status 200 this means the webhook works ok.

In this case, I would suggest checking the following doc from Azure DevOps for further troubleshooting:

[https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/bitbucket?view=azure-devops\&tabs=yaml#i-just-created-a-new-yaml-pipeline-with-cipr-triggers-but-the-pipeline-is-not-being-triggered](https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/bitbucket?view=azure-devops&tabs=yaml#i-just-created-a-new-yaml-pipeline-with-cipr-triggers-but-the-pipeline-is-not-being-triggered)

If you still need assistance, I would suggest contacting the support team of Azure Devops.

Kind regards,  
Theodora


Tags: app

azure-devops
bitbucket.org
Asked by Athin Babu A:

bitbucket.org is not open for me now.  

It Shows

This site can't be reached {#toc-hId--525974891}
------------------------------------------------

Check if there is a typo in bitbucket.org.  
DNS_PROBE_FINISHED_NXDOMAIN


Answers:
author: Ben
body: Hey Athin,

The error message you have described above seems to relate to a local DNS issue.

If you are having issues accessing the Bitbucket website, please attempt the following two troubleshooting steps for me one at a time, testing after each step:

* **Changing your DNS server IP address to 8.8.8.8/8.8.4.4**   
  This is the address for Google Public DNS, if the website loads successfully after you have made this change then I would suspect that this is a DNS issue on your ISP's end.  
  A guide for performing this can be found here: <https://www.howtogeek.com/167533/the-ultimate-guide-to-changing-your-dns-server/>
* Perform a tracert to the address in a command prompt:  
  tracert bitbucket.org or traceroute bitbucket.org

If the first step fails, by performing the second step you can determine where exactly the fail is occurring. For example, if this is occurring at your default gateway or at the ISP end.  
There is a further network troubleshooting article located below (which includes the above steps):  
<https://confluence.atlassian.com/bbkb/troubleshooting-network-issues-389778693.html>

Cheers!

- Ben (Bitbucket Cloud Support)


Tags: bitbucket-cloud

cloud