youngmon/atlassian-qna huggingface dataset:
Send an e-mail to chosen recipient, when place is tagged and case changes status
Asked by Kamilla Hansen:

In my workplace Jira is used to create issues from different municipalities in the country. The municipalities must be filled in manually inside each case. Is there any way to create an automation that sends out an email through Outlook to specific recipients, connected to each municipality chosen in Jira?

Let's say an issue is created in Oslo \> issue gets marked as ex. "Replacement" \> Email automatically gets sent to "Customer, Oslo".


Answers:
author: Curt Holley
body: If you are using JSM (which I am assuming is the case), then making use of Organisations to group the customers would be a good solution.  

comments: author: Kamilla Hansen
body: Yes we're using JSM. But how would I create an automation that is connected to Outlook? What I want is the change of a tickets status in Jira, to directly trigger an action (like sending a pre-constructed email to a specific recipient) i another program.


author: Suzi Firth
body: Hi [@Kamilla Hansen](/t5/user/viewprofilepage/user-id/5180413)

I presume the municipality is a custom field you have setup. Is this a cascading list or are you referencing an object schema?

If you are using an object schema, are you using a filter issue scope to narrow down the results to municipality assigned to the reporter?

Regards,

Suzi

comments: author: Kamilla Hansen
body: Yes, the municipalities are a custom field we have set up. It's an object schema, with a filter that narrows down the results to specified departments availble in each municipality.


author: Suzi Firth
body: Hi [@Kamilla Hansen](/t5/user/viewprofilepage/user-id/5180413)

Based on what you've said, you may need to add a few more automations to potentially get this working.

What you could do is setup an automation so that when a particular site is selected in the field, it sets a list of users/customers in the request participants field. Trigger being based on whenever the Municipality field is changed.

That would then allow you to create an automation like so:

Trigger: Value Changes for Municipality

Condition: Site contains "Municipality"

Action: Send Email to Request Participants

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

Also, I'm not sure how you decide what municipality is selected on each ticket, however if this is based on the reporter, you could automate this to set the municipality when the ticket is created.

Suzi
After create or merge pull request nothing happend on automation
Asked by Adrian Kuriata:

Hi, I have simple rules eg. after create pull request change jira issue from in progress to code review status. Since 20.03.2023 nothing happend on automation. I checked two projects and I don't have any movement in the audit log in automation section. Last time, when it worked is 20.03.2023, I didn't change anything from last two weeks. Is Jira has any problems with automations?

PS. In the Pull Request preview as you can see is 0 Jira issues, but in the PR title and commits issue is linked.

![Zrzut ekranu z 2023-03-22 14-23-38.png](https://community.atlassian.com/t5/image/serverpage/image-id/247003iFCE409CB5511F06B/image-size/large?v=v2&px=999 "Zrzut ekranu z 2023-03-22 14-23-38.png")

![Zrzut ekranu z 2023-03-22 14-24-40.png](https://community.atlassian.com/t5/image/serverpage/image-id/247004iD8AB7F15ACB39227/image-size/large?v=v2&px=999 "Zrzut ekranu z 2023-03-22 14-24-40.png")

![Zrzut ekranu z 2023-03-22 14-25-06.png](https://community.atlassian.com/t5/image/serverpage/image-id/247005iD1CE86FD46390B53/image-size/large?v=v2&px=999 "Zrzut ekranu z 2023-03-22 14-25-06.png")

![Zrzut ekranu z 2023-03-22 14-25-41.png](https://community.atlassian.com/t5/image/serverpage/image-id/247006i2A7325A7B5B520A2/image-size/large?v=v2&px=999 "Zrzut ekranu z 2023-03-22 14-25-41.png")


Answers:
author: Andy Heinzer
body: I found a few other reports of this behavior recently. We have created a new bug to track this over in <https://jira.atlassian.com/browse/AUTO-666>

I would encourage site-admins of paid plan sites create a support ticket in regards to this over in <https://support.atlassian.com/contact>

This will help us to identify the impacted customers and better prioritize a fix for this.

Thanks

Andy

comments: author: Adrian Kuriata
body: I'm hope you are fix it as soon as possible, because it is really annoying when I have to change everything manually.


author: Jules Favreau-Pollender
body: Same for us. Pull request created never triggered. It was working great until 20/03/23 02:11:53 pm (15000849795)


author: Adrian Kuriata
body: The issue has been resolved so the question can be closed. Thanks for quick response and fix.


author: Martine Costamagna
body: Same problem here! Thank you for helping us ;)


author: Vyacheslav
body: Absolutely the same problem. Pull Requests counter and statuses in Jira are updated correctly but audit log is empty (so the automation rule doesn't start).
Can a Confluence automation rule be manually triggered?
Asked by Kristj?n Geir Mathiesen:

Hi Community

The new Confluence automation feature is great. Is there a way to manually trigger a Confluence rule (like we can in Jira)?

TIA,  
KGM


Answers:
author: Kristj?n Geir Mathiesen
body: Update: Now Confluence Automation rules can be triggered by end users

![giphy](https://community.atlassian.com/t5/image/serverpage/image-id/304678iD1AB768C213B8786/image-dimensions/314x262?v=v2 "giphy")

See more here -\> [rebrand.ly/xbp4pos](https://www.google.com/url?q=http://rebrand.ly/xbp4pos&sa=D&source=calendar&ust=1707576137194338&usg=AOvVaw3NsGqW-80DdgL8G98ezUJ9)


author: Agraj Mangal
body: Hi [@Kristj?n Geir Mathiesen](/t5/user/viewprofilepage/user-id/1909016)

Unfortunately we do not provide this capability in Confluence today. You simply cannot choose "Manual Trigger" component while defining your rule in Confluence.

Regards,  
Agraj

comments: author: Kristj?n Geir Mathiesen
body: Oh darn it. I hereby submit it as a feature request :)

Thanks [@Agraj Mangal](/t5/user/viewprofilepage/user-id/4772177)


author: Harald Seyr
body: Hi [@Kristj?n Geir Mathiesen](/t5/user/viewprofilepage/user-id/1909016)

just guessing from [Triggers in Confluence automation \| Cloud automation Cloud \| Atlassian Support](https://support.atlassian.com/cloud-automation/docs/triggers-in-confluence-automation/): There is an URL for every automation (see section "incoming webhook"), you should be able to make the "HTTP POST" request, e.g. from a script or from browser using some javascript.

Regards,

Harald

comments: author: Kristj?n Geir Mathiesen
body: Thanks for this idea, [@Harald Seyr](/t5/user/viewprofilepage/user-id/4441043) I?ll look into this.

The ask is for a regular user to be able to trigger it, like with a button or gadget on a Confluence page.


author: Agraj Mangal
body: I've not tried this myself but in theory, it should be possible using an incoming webhook and then you can create a Forge App (for the gadget/button functionality in Confluence) that triggers this webhook ?


Tags: confluence
Update fixversion of epic based on stories
Asked by Prahlad Rebala:

I would like to build an automation to **update the fix version of the epic** with the latest fixversion of all of its child stories **whenever fix version of the story is changed.**

I can use the version.releaseDate as a comparison value to find t he latest fix version but would like to know how to loop through the stories and get the latest version

Appreciate your help


Answers:
author: Agraj Mangal
body: Hi [@Prahlad Rebala](/t5/user/viewprofilepage/user-id/4821760)

Looks like you are after a variation of this rule from the playground

<https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/9919294>

This one works on story points and you need to work with fixVersions

Hope this helps,

Agraj
Would execution of this rule count towards limit?
Asked by David Lawrence:

I modified a rule that is triggered when an issue is transitioned to done in Service Management Cloud. It then has a related issues condition checking that linked issues of the trigger do not match a JQL querery in a Jira Cloud Project. If none match an issue is then created in that Jira Cloud Project. I have the scope set as a single project for the Service Management Project. The creator of the rule had the scope set as multiple projects with the Service Managment and the Jira Cloud Project entered in the projects field. This caused us to reach 90% of our limit. In the audit log it says multiple projects after I modified the scope so it could only be triggered in the Service Management project. It is of my understanding that cross product issue creation is treated as a single project execution.

![Audit log.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/246234iEA3BD1B3D29DCEEC/image-size/large?v=v2&px=999 "Audit log.PNG")![Scope.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/246238i6834B8DAB3816041/image-size/large?v=v2&px=999 "Scope.PNG")![Condition 1.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/246236iAF8CF8173EB9285B/image-size/large?v=v2&px=999 "Condition 1.PNG")![Condition 2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/246243i45675C469525D572/image-size/large?v=v2&px=999 "Condition 2.PNG")

![Component.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/246244i81E767E219BB85E4/image-size/large?v=v2&px=999 "Component.PNG")


Answers:
author: Kian Stack Mumo Systems
body: [@David Lawrence](/t5/user/viewprofilepage/user-id/4497443),

You need to change the scope from "Global" to single project. Right now even though all of your components are restricted to a single project, the rule can will run each time any issue is transitioned to "Done".

Edit: I misunderstood the screenshots. Yes, even if the rule can only be triggered by the JSM projects, creating a new ticket in a different project makes it a multi project automation rule.

Thanks,

Kian


Tags: jira-cloud

jira-service-management-cloud
Send web request fail with 403 error
Asked by Naveen Vastare:

while sending request to jenkins server getting below error. Can you pls help  
Error publishing web request. Response HTTP status:  
403


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

For a question like this, please post images of your complete rule and the audit log details showing the rule execution. Those may provide more context for the community to offer ideas.

That error seems to indicate the message was received and was not authorized for the method called. Have you checked the parameters used to call the method for the correct access?

Kind regards,  
Bill


author: Oday Rafeh
body: Welcome [@Naveen Vastare](/t5/user/viewprofilepage/user-id/5169839)

To troubleshoot this issue, You can do :

Verify the Jenkins URL:

Make sure the URL you're using to access the Jenkins server is correct and properly formatted.

Squid Proxy Configuration:

If you are using a Squid proxy server, ensure that it's configured correctly. Check the Squid configuration file (usually /etc/squid/squid. conf) for any issues related to access control lists (ACLs), proxy authentication, or other settings that might be causing the error. You may also want to consult your Squid proxy server logs to get more information about the error.

Network Connectivity:

Check your network connection to ensure that it's working correctly and that you can access other websites. If you are experiencing connectivity issues, the problem might be with your network or internet service provider.

Firewall Settings:

Review your firewall settings to make sure that the request isn't being blocked. Some firewalls might block certain types of requests or access to specific URLs, resulting in this error.

Server-side issues:

If you have ruled out client-side issues, the problem could be with the server hosting the Jenkins instance. In this case, contact the server administrator for assistance.

If this didn't help in any way then please do what [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) mentioned about providing your complete rule and the audit log details showing the rule execution

Regards

Oday


author: Naveen Vastare
body: Error response HTTP body:  
ERROR: The requested URL could not be retrieved\</title\> \<style type="text/css"\>\<!-- /\* \* Copyright (C) 1996-2022 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. \*/ /\*
How do I set parent link to an initiative?
Asked by Brandon Waring:

I am cloning an epic from another project, and when I do this, I'm trying to set the parent to an initiative in my project, but it's not working.

This is what I'm doing, except where ISSUE_KEY_HERE is, I've tried the initative key XXX-1234 as well as the URL <https://jira.mydomain.com/browse/XXX-1234>. I didn't expect the link to work but I did expect the key.   

```
{
  "fields": {
     "Parent link": "ISSUE_KEY_HERE"
  }
}
```

What am I doing wrong?   


Answers:
author: Suddha
body: Hey Brandon,

Don't think you're doing something wrong here - Rather the "Parent Link" field is a "special" field and A4J currently doesn't support this field: <https://jira.atlassian.com/browse/JIRAAUTOSERVER-79>

comments: author: Brandon Waring
body: Thanks for letting me know. I'll keep checking that link to see if it gets resolved.
Creating Kanban board with flow as mentioned
Asked by Basavaraj Sangote:

How to create kanban board with new flow as mentioned below in existing project ?

flow should be like this -

Backlog

Blocked

In progress

done


Answers:
author: John Funk
body: hi Basavaraj - Welcome to the Atlassian Community!

Have you created the new workflow and updated with existing workflow scheme with this new workflow?

comments: author: Basavaraj Sangote
body: I have created new workflow and tried to add this workflow in existing workflow scheme but i am not gettting for which issue type i need to associate this newly created workflow


author: John Funk
body: What type of project is it? Company-managed? Team-managed?

Can you share what happens when you try to add the workflow to the existing scheme?


author: Basavaraj Sangote
body: solved sir thank you for your kind response


author: John Funk
body: Great - glad you got it figured out.


Tags: board

kanban
Counting of linked issues results in an incorrect value
Asked by Matt Noe:

I created an automation in a project that is a manually triggered rule (for now).

In the automation, I do a lookup with the following query: "issue in linkedissues({{issue.key}}) and type = bug "

When I run the same query in ScriptRunner, I get 11 results for the target issue, so I believe this is correct:

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

In the automation, I then edit the issue using {{lookupissues.size}}. When I run to automation, the field is set to zero, and not the expected 11.

What am I doing wrong here?

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

I did try changing the edit value from "{{lookupIssues.size}}" to "={{lookupIssues.size}}" and then got the following error in the audit log:

##### Action details: {#toc-hId--1587634506}

##### MANUAL TRIGGER {#toc-hId-899878327}

The user Matthew Noe triggered the rule  

##### LOOKUP ISSUES {#toc-hId--907576136}

A search during custom value definition found no issues.  

##### EDIT ISSUE {#toc-hId-1579936697}

Could not convert the field value to a number. Please ensure the value is a number, math expression or smart-value that can be converted into a number.  
Bug Count: =0  
No fields or field values to edit for issues (could be due to some field values not existing in a given project):  
CBE-16626


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Matt Noe](/t5/user/viewprofilepage/user-id/3520847)

Works fine here:

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

Is the field you are trying to edit available on the specific project?

comments: author: Matt Noe
body: The field is available on the project. The only thing that I can think of is that the linked issues is a part of a separate project? Does my automation have to be moved to global because of it?

Project being run against is CBE-XXXXX Linked issues are BUG-XXXXX


author: Alex Koxaras _Relational_
body: Prior of changing the rule to global, try the following query on your lookup component:

```
issue in linkedIssues(CBE-16626) and issuetype = bug
```

Click validate query and see how many issue it will return


author: Matt Noe
body: Thanks [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197) . I tried it on both the project specific automation and the global. Project specific returns 0 and global returns 11. Looks like that is my problem.

Thank you for your help!
move task to top of epic when assigned to sprint
Asked by rweston:

Is there a way to have tasks automatically moved to the top of an epic when it is assigned to a sprint? So all tasks that are assigned to a sprint will show at the top?


Answers:
author: Bill Sheboy
body: Hi [@rweston](/t5/user/viewprofilepage/user-id/4450775)

*What problem are you trying to solve by doing this?* Knowing that will help the community to offer suggestions.

Until that is described...

What do you mean by "moved to the top of an epic"? For example, do you mean the display order of the child issues in the epic view?

If you do, **Rank** is the default, display order of the child issues in an Epic. Changing Rank with the UX is easy as drag-and-drop...changing otherwise requires the use of the REST API to shift issues *relative to each other*, and so is more difficult. I suppose it would be possible to write an automation rule which identifies the highest rank issue in an epic, and then move the issues in the sprint before that first one.

Kind regards,  
Bill

comments: author: rweston
body: In an epic roadmap, Rather than manually dragging them to the top I would like to automate it. So in the roadmap, you can see instantly the ones being worked on at the top rather than scrolling down through (sometimes over 100) tasks to find the current ones being worked on. So yes, display the child issues in the epic view based on currently being worked on is at the top. Or by sprint at the top.


author: Bill Sheboy
body: Thanks for that information. If you want to try automating this, I described a rule earlier that might help.

There is a manual way to do this in one step, given some constraints:

* let's say most of your items have epics (or you focus on one/few epics at a time)
* in the backlog, and before adding the issues to the sprint...
  * filter by your epic
  * select the items to go into the sprint
  * right-click, move to top of backlog (which will change the Ranking)
  * right-click again, to add to sprint
  * now start your sprint


author: Kelly Arrey
body: (Just me thinking out loud, but is there a way in that roadmap view to:

* filter out the tasks in Closed/Done status
* sort the remaining tasks in descending order of status?)
Ticket not moving to waiting for customer stage
Asked by Basavaraj Sangote:

Tried to move ticket to waiting for customer stage but it reverts to waiting for support stage

what might be the reason for this problem?


Answers:
author: Suzi Firth
body: Hi [@Basavaraj Sangote](/t5/user/viewprofilepage/user-id/5169224)

Take a look at your workflow and see if the transition requires any conditions to be met before the transition is allowed.

As an example: This transitions isn't allowed unless All Sub-tasks are in one of the following statuses

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

comments: author: Basavaraj Sangote
body: Okay, Thank You for your kind response


Tags: status

transition
Request type should change automatically when issue type change
Asked by Basavaraj Sangote:

How to create automation for " Request type should change automatically when issue type is change" ?


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

The automation you ask, is currently a feature in progress. See more here and vote/watch to get news updates <https://jira.atlassian.com/browse/JSDCLOUD-1835>

But if you really can't wait, then a rule similar to the one I paste below, would do the trick (just add the "else" part with the corresponding request types):

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

comments: author: Lucca Fernandes
body: Hi [@Alex Koxaras _Relational_](/t5/user/viewprofilepage/user-id/4150197)

I'm going through the same problem I made an automation exactly as you showed in the example, however, it gave an error that the defined field is not on the screen.

![Captura de Tela 2024-09-11 a?s 10.14.42.png](https://community.atlassian.com/t5/image/serverpage/image-id/346835i9226A3595C306A3E/image-size/large?v=v2&px=999 "Captura de Tela 2024-09-11 a?s 10.14.42.png")

![Captura de Tela 2024-09-11 a?s 10.27.06.png](https://community.atlassian.com/t5/image/serverpage/image-id/346838i9A9E6145A28DAA70/image-size/large?v=v2&px=999 "Captura de Tela 2024-09-11 a?s 10.27.06.png")

Could you help me?
Can you Help me with this isssue "Your account now has more than 30 repositories created today... "?
Asked by ninfea:

Hello,

I cannot create any other repository, because I made 30 repositories and more for today. But I need to make them, to save my work. Can you unblock my workspace? You said:

"Your account now has more than 30 repositories created today. Don't worry! You can still create more for free, but in order to [prevent Bitbucket misuse](https://www.atlassian.com/legal/acceptable-use-policy), we need to [hear from you](https://support.atlassian.com/bitbucket-cloud/)."

So I'm here to explain my problem.

My workspace url is: <https://bitbucket.org/ninfea>

I replied to another topic like that, but I don't know how to behaviour here, because it's the first time that I write in this forum and nobody has answered so far.

Help me, please!!! Thank you.

Ninfea.

edit: It works again now. thank you.


Answers:
author: Mark C
body: Hi [@ninfea](/t5/user/viewprofilepage/user-id/1633940)  

Welcome to the community.  

Could you check if you can create repositories now?  

Regards,  
Mark C

comments: author: ninfea
body: Hello,

Yes I can.

Thank you.

It restarted working the following day..

I edited my message (read the last sentence there), to inform you about that.

Thank you all

Regards

Ninfea


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

This is an anti-abuse measure that Atlassian have implemented to stop people abusing their free systems.

We can't help you with this, the Community here is not Atlassian support, and we don't have any access to administrate your systems. You'll need to follow the link the message has given you.


Tags: atl-rvw

bitbucket-cloud

cloud