youngmon/atlassian-qna huggingface dataset:
Integrating with MS Team
Asked by Vinay S:

Hi there,

When I follow the instructions to integrate JIRA with our company MS Teams, I am not able to find JIRA cloud in the apps. Could you please guide me here?

Thanks \& Regards,

Vin


Answers:
author: Bill Sheboy
body: Hi [@Vinay S](/t5/user/viewprofilepage/user-id/4858155) -- Welcome to the Atlassian Community!

Which instructions were you using and what are you observing?

Also you posted this in the automation area, so if you have an automation rule which is having problems please consider posting images of your rule and audit log details. That will provide context for the community to offer help. Thanks!

Kind regards,  
Bill


Tags: integration
Send web request fail to 403
Asked by Diego Cabulo:

Im using a web hook to pass the issue data to my aws API, but get 403 i try it in postman and my service work fine. Can you please help me.

the service was workin fine but today is not workin.

\<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "<http://www.w3.org/TR/html4/strict.dtd>"\> \<html\>\<head\> \<meta type="copyright" content="Copyright (C) 1996-2017 The Squid Software Foundation and contributors"\> \<meta http-equiv="Content-Type" content="text/html; charset=utf-8"\> \<title\>ERROR: The requested URL could not be retrieved\</title\> \<style type="text/css"\>\<!-- /\* \* Copyright (C) 1996-2017 The Squid Software Foundation and contributors \* \* Squid software is distributed under GPLv2+ license and includes \* contributions from numerous individuals and organizations. \* Please see the COPYING and CONTRIBUTORS files for details. \*/ /\* Stylesheet for Squid Error pages Adapted from design by Free CSS Templates <http://www.freecsstemplates.org> Released for free under a Creative Commons Attribution 2.5 License \*/ /\* Page basics \*/ \* { font-family: verdana, sans-serif; } html body { margin: 0; padding: 0; background: #efefef; font-size: 12px; color: #1e1e1e; } /\* Page di..


Answers:
author: Andy Heinzer
body: Hi Sorry to hear about this problem, there was an incident at this time and it seems you were affected. We have a statuspage update about this specific 403 error over in <https://jira-software.status.atlassian.com/incidents/h1jyhhcpm5nt>

At this time though, the incident has been marked as resolved.


author: pedro.prates
body: I'm also having the same problem, it started yesterday, all of the sudden my API calls is now returning status 403.

When I test the same request on other resources, it works fine.


author: Fernando
body: I'm facing the exactly same problem, starting today. Until last week, everything was working just fine. Making a request using postman/curl, the service works just fine.

The request seems to not reach my aws API, since the 4xx logs does not show up anything when I try to send web request via jira automation.

Have you found a solution?


Tags: cloud
Email notifications for when issue links are added
Asked by Jacqueline:

Normally when a user edits an issue, the watchers are notified. However, I've come to realize this doesn't work for linked issues - if someone links issue A to issue B, I don't get a notification for either issue, even if I'm a watcher on both of them.

Jira support suggested I create an automation that does this. I'm getting stuck on figuring out how to show what new links were added using smart values. I can access the entire list of issue links using {{issueLinks}}, but I just want the new issues that were linked.

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

I tried using the {{fieldChange}} smart values that are listed on [this](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/) support page, but none of them seem to work for me. (That section of the page also has some typos, so I'm not sure how much to trust it):

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

Does anyone know how I might get just the issue links that were added, not all of the issue links?

I'm also hoping to set up a similar automation for when issue links are deleted.


Answers:
author: Stefan Salzl
body: Hi [@Jackie Scanlon](/t5/user/viewprofilepage/user-id/4527030) ,

Guess this could even be solved in a much simpler way using the destination issue smart value.

This will only refer to the "linking" event and takes only the source and destination issue into account, so the rule can directly refer to the needed issue.

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

Best  
Stefan

comments: author: Jacqueline
body: Ah, that's perfect! Thank you so much!
How can I get my subtask to be auto populate base on the item number in the parent card?
Asked by Gisselle:

When I upload an issue I want the item number field to be tied to certain subtask or comments.

![2022-03-29_14-58-44.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/190554i78CCB7B4DED37DF1/image-size/large?v=v2&px=999 "2022-03-29_14-58-44.jpg")


Answers:
author: Mark Segall
body: Hi [@Gisselle](/t5/user/viewprofilepage/user-id/4846518) and welcome to the community!

This should be possible, but need more context...

* Trigger - Are you expecting this to occur when a new issue is created?
* Condition(s) - Is this for a specific issue type, will all issue types have the item number field populated, etc.?
* Action(s) - Is it creating a subtask or updating one that already exists? If there are multiple subtasks, is the expectation that all of them get updated or just those that meet certain criteria. If certain criteria, what is that criteria.
automating fix version creation
Asked by Nahed Hamdi:

Hi

I been trying to create a fix version when ticket is moved to certain state.

my issue is with setting the name of the fix version, where the format is the following

Year. WeekofYear .the number of the release

starts from 1 every week.

any idea how to handle that?


Answers:
author: Mark Chaimungkalanont
body: You should be able to use the Create version action setting the name of the version to a smart value. For smart values that are available check out <https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/>

e.g.

```
{{now.year}}.{{now.weekOfyear}}
```

the number of the release is something that needs to be stored else where or comes in as part of the trigger (ie it could be field in the issue)

You can then use the version in the "Edit issue" action's "Fix version field" and set it to the smart value {{version}}

Hope that helps!


Tags: cloud
Can starting a sprint cause stories to be moved into the new sprint?
Asked by Randy O_Neal:

I had to step out this last week for a personal matter on the day I would normally end the previous sprint and start the new sprint. I asked a peer to do this on my behalf during my absence.

Today, I discovered that during the process of starting the new sprint, 5 stories were added to our new sprint; this made the difference of a team commitment by +25%; we picked up 25% more than the team intended to commit to for the sprint. All the history in the individual stories indicate that the other Scrum Master added the stories to the sprint and adjusted the story priority. This happened to all 5 stories at the same time. I should add that the other Scrum Master claims the only thing executed was to start the sprint; no individual stories were moved... yet they were.

Is there any possible explanation as to what might have happened? I've been closing, starting, and managing sprints now for 14 months and have never seen anything of this kind of behavior. Any ideas would be greatly appreciated.


Answers:
author: Alexander Bondarev
body: Hi [@Randy O_Neal](/t5/user/viewprofilepage/user-id/4270808) !

Yes, your Scrum Master can make it during [the compliting active the sprint](https://support.atlassian.com/jira-software-cloud/docs/complete-a-sprint/):
> If the sprint has incomplete issues, select from one of the following:
>
> * **Backlog**, to move the issues to the backlog
>
> * **Any future sprint**, to move the issues to any future sprint that's already created
>
> * **New sprint**, to create a new sprint and then move the issues to the new sprint

comments: author: Randy O_Neal
body: Yes, I am aware of these options... but none of the 5 stories affected were active; none of them had any incomplete work associated to them; all 5 were stories in future sprints, pre-slotted by the Product Owner; none had any task hours burned down, and none had any tasks not in the **Ready** state.
when issue moved trigger
Asked by Kris:

I need a rule for when an issue is moved from ProjA to any other project. Basically the opposite of the current trigger, which says: "Rule executes when an issue is moved to this project." I'm looking to create a rule when an issue is moved FROM this project.

Plenty of searching has not found the answer. Any creative work arounds to this? We are using server, not cloud.


Answers:
author: Bill Sheboy
body: Hi [@Kris](/t5/user/viewprofilepage/user-id/4840397) -- Welcome to the Atlassian Community!

I wonder if you could use the generic Issue Updated trigger followed by an advanced compare condition to check the changelog for a change to {{issue.project}}

* first value: {{#changelog.project}}{{fromString}}{{/}}
* condition: is not equal to
* second value: {{#changelog.project}}{{toString}}{{/}}

Kind regards,  
Bill

comments: author: Kris
body: Thanks [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) I'll give this a try!


author: Ste Wright
body: Hi [@Kris](/t5/user/viewprofilepage/user-id/4840397)

What's the Action that's triggered?

The *Issue Moved*trigger should still cover this:

* **Source Project:**Project A
* **Target Project:**Any Project

\^ I.E it doesn't matter where it moves, it's the fact it did move.

Ste

comments: author: Kris
body: Hi [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) perhaps I'm not understanding correctly. Here is a screen shot of my rule. I am able to change the source project to Project A. But I cannot change the target project to "any project".   

I need a rule from Project A (which is the only project I have automation permissions on) to any other project.

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


author: Ste Wright
body: Hi [@Kris](/t5/user/viewprofilepage/user-id/4840397)

It needs to be a Global Rule in this instance.

This is because the *Target Project*- i.e where the Issue has been moved to - is no longer your Project, so you no longer have permission to set automations against the Issue.

A Jira Admin will be able to help you create this :)

Ste
when i execute a transition screen has to popup?
Asked by shashi budidha:

my requirement is that when any user execute a transion he has to give the explanation in the comment so I want to popup a screen after executing the transion. Is it possible to popup a screen which has a comment feild by using automation for jira?

note: I know we can do this by adding a screen on a work flow transition but i need the same by using automation for jira app


Answers:
author: Stefan Salzl
body: Hi [@shashi budidha](/t5/user/viewprofilepage/user-id/4791653) and welcome to the community!

The described behaviour is mainly a feature of the workflow as it can "wait" for the action to be done. It?s also best practice to solve workflow related steps within the workflow (validation, screens, post-functions, etc...) rather than with automation.

A4J can automate processing of dedicated steps but I don?t see any possibility to open a popup and the automation rule waiting for input.

Just for better understanding:  
Why is the requirement to NOT doing it with a screen in the workflow?

Best  
Stefan

comments: author: shashi budidha
body: the workflow is used by 10 projects and i dont want to copy the work flow because of permormance issue


author: Stefan Salzl
body: In which way does copying a workflow affects the performance?


author: shashi budidha
body: im not sure.... my team lead suggested me not to create new workflow.can you tell me weather creating a new workflow or copying workflow decrease the permformance


author: Stefan Salzl
body: I don?t see any performance issues on your system. It is good to have harmonized projects/workflow as you could associate 1 WF to several projects and don?t have to maintain several WFs that all do the same.

On the other way there is obviously a deviation of that special WF. So (from my point of view) it would make sense to create a special WF and associate to that project if this functionality is only/sololy needed by this project.

Best  
Stefan


author: Nic Brough -Adaptavist-
body: What makes you think you want to do this with Automation?

(You can't by the way, Automation automates things, it does not replace workflow actions in front of a user)


Tags: cloud
Default Issue created mail template usage with Automation
Asked by Tobias:

Hello togehter,

I am currently thinking about using the default "Issue created" mail template in Jira to implement it in Automation. Normally I would say set the whole developers in the notfication scheme under "Issue created" but in this case this doesn't work for me. We have customer requests build with a specific issuetype. So i would trigger the rule when this issuetype was created and want to inform a specific distributor of people to receive the info about the creation. Now I think the default notification mail of "Issue created" would fit the best as an information.

So is there a possibility to implement this kind of template? Right now I only found the possibility in the Send mail feature to add HTML code as such.

Thanks for your help,

Best

Tobias


Answers:
author: Fabian Lim
body: Hi [@Tobias](/t5/user/viewprofilepage/user-id/4045027)

Going with the send email notification is the way to go. Here is a [tutorial](https://youtu.be/ccWTIgdnQqE) that may help you.

Regards


Tags: email

trigger
Where does the ticket display the person who has created the ticket?
Asked by Ine Nieuwenhuijzen:

We sometimes create a ticket for someone else and add the name of that person as reporter. However we also want to know who created that ticket. How do I do that?

I remember that I have seen the name of the creator in the status change log (see attachment). Is it still possible to display the name of the creator here and if so how do I that?

Thank you in advanced!![Screenshot 2022-03-21 10.58.07 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/189108i8E69950F4FB2F04F/image-size/large?v=v2&px=999 "Screenshot 2022-03-21 10.58.07 AM.png")


Answers:
author: Mykenna Cepek
body: You could also consider creating a custom field (e.g. Orig Reporter) that automation can fill in when issues are created. That way, when you change Reporter, the original value can persist.

I think you can also set the screen configuration so that this field would not be editable (but Automation would be able to set it). A bit of extra effort for that, but it would then be trustworthy.


author: Ine Nieuwenhuijzen
body: Thank you for the replies. The History in Comments comes in handy!


author: Yuliia_Borivets__SaaSJet_
body: Hi [@Ine Nieuwenhuijzen](/t5/user/viewprofilepage/user-id/4812209)

You can find who has created the ticket in the History section.

**Open an issue (ticket) \> Activity \> History**

**![who created the ticket.png](https://community.atlassian.com/t5/image/serverpage/image-id/189134i5E1D53C679356C95/image-size/large?v=v2&px=999 "who created the ticket.png")**

In case, you need a more advanced report, I can suggest the **[Issue History](https://marketplace.atlassian.com/apps/1220385/issue-history?hosting=cloud&tab=overview&utm_source=Atlassian_Community&utm_medium=referral&utm_campaign=Comment_Where-does-the-ticket-display-the-person-who-has-created-the-ticket_20220321)** plugin. Here you'll get info for the list of tickets and the ability to sort them according to your needs. My team developed it as a retrospective journal for every past activity.

You can add **Created** and **Creator** fields to get the info.

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

Let me know if you find those options helpful.


author: Piyush A _STR_
body: Hi,

You may check for 'History' option in activity (where you've comment)
Need to check whether we can call python api to integrate with bitbcuket pipeline so it can fetch th
Asked by Rohan Srivastava:

Need to check whether we can call python api to integrate with bitbcuket pipeline so it can fetch th


Answers:
author: Theodora Boudale
body: Hi Rohan and welcome to the community!

Your message was cut off short, so it's not clear what you are looking to fetch.

You can use in Bitbucket pipelines any command line tool that is already preinstalled in the Docker image you use as a build container, or any tool you install during the build. So, it should be possible to use the Python API as well.

It is also possible to use Bitbucket Cloud's REST API directly. This is the documentation, you can navigate to the different topics and endpoints from the left sidebar:

* <https://developer.atlassian.com/cloud/bitbucket/rest/intro/>

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
how do i delete a repository ?
Asked by japlong:

I am new and have made errors i can't seem to fix.

can i delete a repository to try again ?

thanks,

judy


Answers:
author: Sreenivasaraju P
body: Hi [@japlong](/t5/user/viewprofilepage/user-id/5454805) ,

Please refer below link for the details

<https://support.atlassian.com/bitbucket-cloud/docs/delete-a-repository/>

comments: author: japlong
body: Thanks !


Tags: bitbucket-cloud

cloud
Upgrade Procedure from Server to Data Center in Cluster mode
Asked by Miba:

What's the step-by-step process for upgrading from Server to Data Center in cluster mode?

According to the [docs](https://confluence.atlassian.com/bitbucketserver/upgrade-from-bitbucket-server-to-bitbucket-data-center-996641211.html), I just need to apply the new Data Center license to our current server. But is that it? Shouldn't I also run the Data Center installer?


Answers:
author: Charlie Misonne
body: Hi [@Miba](/t5/user/viewprofilepage/user-id/4504105)

Pasting the DC license into an existing server license will "upgrade" from server to data center.

Of course it will not enable a clustered mode with an extra node. For that you need to install an extra Bitbucket node indeed. And there are other things to keep in mind too like a separate elastic search instance, load balancer, shared file system etc.

More info about setting up a clustered instance can be found [here](https://confluence.atlassian.com/bitbucketserver/set-up-a-bitbucket-data-center-cluster-996641208.html).


Tags: bitbucket-data-center

bitbucket-server
Not receiving email to complete 2 verification process. I have used Google Authenticator.
Asked by sanjay bisht:

![Screenshot 2024-03-17 at 10.56.02?PM.png](/t5/image/serverpage/image-id/312545i42B1C7E93CE3D0DC/image-size/large?v=v2&px=999 "Screenshot 2024-03-17 at 10.56.02?PM.png")


Answers:
author: Theodora Boudale
body: Hi [@sanjay bisht](/t5/user/viewprofilepage/user-id/5454672),

I checked our email logs and we attempted to send several emails to your email address. However, these emails don't get delivered to your mail server due to this error:

```
no mail servers for this domain could be reached at this time
```

Please reach out to the administrator of your mail server and ask them to investigate if the domain name exists or if there is another issue with the mail server.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Heroku Buildpack
Asked by Peter Boling:

There doesn't appear to be a way to use a custom Heroku Buildpack with the Heroku Deploy Pipe.

This is quite silly.


Answers:
author: Oleksandr Kyrdan
body: Hi [@Peter Boling](/t5/user/viewprofilepage/user-id/5374470)

Thanks for your feedback.

It is a good feature case to contribute to the open-sourced pipe to make it better.

Any pull-request with a new features or improvements from the community are welcome ([How to Contribute to the pipe](https://bitbucket.org/atlassian/heroku-deploy/src/master/CONTRIBUTING.md)).

Best regards,  
Oleksandr Kyrdan

comments: author: Peter Boling
body: I was able to specify the buildpack via the CLI, and then the deploy pipe used it, but I am extremely lucky that I've worked with Heroku for so long that I had a hunch it might work. I found no posts about this, no documentation about this, and no hint that this was possible. It should be documented in the pipe readme, or somewhere official. Using a custom buildpack is something I have had to do literally every time I have used Heroku. Standard buildpacks... why do they even exist, I have never had a use for them.  

It's just odd that the only way Heroku is useful as a product isn't even documented.


author: Oleksandr Kyrdan
body: [@Peter Boling](/t5/user/viewprofilepage/user-id/5374470)

It would be nice if you could provide some details and examples of the solution and share your experience with the Atlassian community [Write an Article](https://community.atlassian.com/t5/Announcement-articles/Become-an-Atlassian-Author/ba-p/1001925).

Let's make Bitbucket Pipes better!

Best regards,  
Oleksandr Kyrdan


author: Peter Boling
body: I've already moved off of Heroku to Fly.io, but the build pack was:

```
heroku buildpacks:set https://github.com/unfold/heroku-buildpack-pnpm.git --app my_app_name
```

My build step was:  

```
- step:
    clone:
      depth: full
    name: Build for Deployment
    script:
      - echo Deploying ${HEROKU_APP_NAME}
      - git archive --format=tar.gz main -o monolith.tar.gz
    artifacts:
      - 'monolith.tar.gz'
```

My Deploy step was:  

```
- step:
    name: Heroku Deploy
    deployment: production
    script:
      - pipe: atlassian/heroku-deploy:2.4.0
        variables:
          NODE_ENV: production
          HEROKU_API_KEY: $HEROKU_API_KEY
          HEROKU_APP_NAME: $HEROKU_APP_NAME
          ZIP_FILE: 'monolith.tar.gz'
          WAIT: 'true'
```


Tags: bitbucket-cloud

bitbucket-pipelines

cloud

heroku
Can't leave workspace
Asked by ngure:

Hello,

I am trying to leave a workspace but I am receiving the following error:

![resource_not_found.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/291416i7C0383A1995B42DB/image-dimensions/322x247?v=v2 "resource_not_found.jpg")

The workspace I would like to leave starts with "ri". Also the same error is shown every time I login to my account. Is something I can do in order to leave that workspace?


Answers:
author: Theodora Boudale
body: Hi [@ngure](/t5/user/viewprofilepage/user-id/2487674),

I synced permissions for the workspace you tried to leave and your Bitbucket user no longer shows as a member of this workspace. Can you please check and confirm if the workspace no longer shows in your workspace list here <https://bitbucket.org/account/workspaces/>?

Kind regards,  
Theodora

comments: author: ngure
body: Hi Theodora,

I can confirm it does not show up.

Thank you very much.

Brian


author: Theodora Boudale
body: That's good to hear, Brian, thank you for the update.

Please feel free to reach out if you ever need anything else!


Tags: bitbucket-cloud

cloud