youngmon/atlassian-qna huggingface dataset:
Access to manually-triggered automation actions?
Asked by Barry van Oudtshoorn:

It seems like there's no way within the JPD view of issues to trigger manual actions. I have actions which make create delivery tickets for items based on the disco item, but to trigger this I have to force the "normal" JIRA view by doing a search like \`issuekey = EX-123\`. Is there any timeline on when the "actions" menu will be made available in JPD's issue views?


Answers:
author: Hermance NDounga
body: Hello Barry,

We are currently working with the Automation team on adding Jira Product Discovery specific automation features - we are starting by the templates and then we will move on later this year with support of specific Jira Product Discovery fields/concepts , the manual trigger can indeed be part of that scope :).

Could you please let me know an example of rule you are using on ideas that requires a manual trigger?

Best Regards,  
Hermance  
Product Manager @ Jira Product Discovery

comments: author: Omer Meshar
body: Hi [@Hermance NDounga](/t5/user/viewprofilepage/user-id/430755) you can find one example of a manual trigger here - <https://community.atlassian.com/t5/Jira-Product-Discovery/JPD-automation-options-and-manual-triggers/m-p/2431670#M1284>

Another one could be to perform some "big" transition from one status to another (e.g. archive) and ask the user for some additional input to audit.


author: Hermance NDounga
body: Hi Omer,

Thanks for the use case and the community thread - I totally missed it!

Definitely makes sense. I'll make sure to consider it for the next iterations on project automation.

Cheers,

Hermance


author: Angie Adams
body: another example is to create a confluence page. especially helpful if you want creation of page to be controlled by a person.


author: Kavitha
body: Hi [@Hermance NDounga](https://community.atlassian.com/t5/user/viewprofilepage/user-id/430755) ,

I am also looking for a manual trigger of an automation rule, is there any update on the orginal request please.

Thanks,

Kavitha


author: Kavitha
body: Hi [@Hermance NDounga](https://community.atlassian.com/t5/user/viewprofilepage/user-id/430755) ,

I am able to acheive this (Trigger an automation rule manually from the issue) when I open the issue from the "Filters" option.

This is what I did:

1. Created a new filter and added the required conditions to select my desired issues and I used "JQL" option to add my own conditions.

2. From the filtered list, I opened the issue and I can see the "Actions" menu on the right panel.

3. From the actions menu, I can select the manual automation rule.

Hope the above steps can be helpful. Thanks


Tags: automation

bug
Access to "Votes" fields in JQL?
Asked by Barry van Oudtshoorn:

I can't seem to work out how to use "vote" fields in JQL queries. In my particular use case, I want to use JQL to select all issues with a number of votes above a certain threshold, then use a bulk action to add a label to all of them.

The workarounds at present are to manually note down each issuekey for the query (i.e. \`issuekey in (AX-12, AX-34, AX-58, ...)\`) based on my JPD view and apply the bulk operation from there, or to simply go into each item one-by-one and add a label.

I must be missing something somewhere, because I would have expected that every field in an issue is available for use in JQL. I did try watching network traffic to see if I had to identify the field using \`cf\[12345\]\` syntax, but I didn't spot anything in the request or response that looked helpful -- although I did see that \`fieldId\`, \`fieldName\`, and \`jiraFieldKey\` were all null.


Answers:
author: Marc - Devoteam
body: Hi [@Barry van Oudtshoorn](/t5/user/viewprofilepage/user-id/5250177)

I see you can use votes in JPD, if you add a field based on voting.

But JPD can only JQL on the voter not on the number of votes.

The votes (number based) is only used, based on non JPD projects.


author: Omer Meshar
body: Hi,  
You can find a similar discussion with some alternatives [here](https://community.atlassian.com/t5/Jira-Product-Discovery/Filter-by-votes/td-p/2386546)

Hope this helps.

comments: author: Barry van Oudtshoorn
body: Thanks [@Omer Meshar](/t5/user/viewprofilepage/user-id/4828263) -- that's a step in the right direction! I'm still quite confused by just how separate JPD is from everything else in JIRA. Hopefully the team can make it feel more like a fully-integrated part of JIRA over the next couple of months. :)
Maybe a problem in weighted formula
Asked by celsocos:

Below I have a calculated field with just one positive and one negative entry (for testing, the final one has more items).

The calculated field show the values 100, 50, 50. This is correct with the blue "impact" field and once I change the blue field, all is calculated fine.

However, in the negative part (red field) this is not working, and negative values seems ignored.

The two 50 numbers should be diffent based on the red values.

Am I doing something wrong here?

![Captura de tela 2023-08-25 145338.png](https://community.atlassian.com/t5/image/serverpage/image-id/277272iDD714C5D048D8AF4/image-size/large?v=v2&px=999 "Captura de tela 2023-08-25 145338.png")


Answers:
author: celsocos
body: By the way, this is the expected result in the formula (from documentation). Not so easy to guess, but my example has only two fields. It seems the denominator is failing to process the negative input field value.

![normalized_new](https://images.ctfassets.net/zsv3d0ugroxu/58sfdsH1LraYu9SkdC6t61/3621776c598923f80d39a96a538b94d1/normalized_new)
Automation between JPD and Jira Software
Asked by Jaime Laird:

I am trying to avoid JPD and JSC being out of sync. In order to do so, is the following possible? If so, I'd appreciate any resources as to how. Thanks :)

1. JPD Idea has "Next" in roadmap field
2. When the JSC epic linked in "Delivery" of this JPD Idea is moved to "In Development" in JSC, automatically update the status field of the JPD Idea to "In Development" and the JPD Idea roadmap field to "Now"


Answers:
author: Bill Sheboy
body: Hi [@Jaime Laird](/t5/user/viewprofilepage/user-id/5271457)

That should be possible using automation rules, with some things to check first...

* Custom fields (like your Roadmap field) are usually supported by automation rules. I suggest trying to create a rule to determine if your field is listed. If you do not see it, the field may still be available as a smart value or custom field id. You may use this how-to article to check if the field is supported by automation rules: <https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/>
* Next, what is your Jira license level: Free, Standard, Premium, or Enterprise?
  * To have a rule in one project (e.g. your JSC project) update the ideas in the JPD project, the rule must have global or multi-project scope.
  * There are [limits on the number of global/multi-project rule executions per month](https://support.atlassian.com/jira-cloud-administration/docs/explore-jira-cloud-plans/), based on your plan. If you are on Premium or Enterprise, there should be no problems...
  * However if you are on Free or Standard, you will need to consider how many rule executions you expect per month

Once you have those things figured out, the rule for your JSC project should be straightforward:

* trigger it on issue transition
* check if the issue is an epic
* check on the status value is now in delivery
* update the JPD idea

Kind regards,  
Bill


author: Hermance NDounga
body: Hey Jaime,

What Bill said :) Just sharing here the article I created regarding automation, I think you can reuse the second ruse and simply add it a condition (If Roadmap = Next) and one action (Then update Roadmap = Now)

<https://community.atlassian.com/t5/Jira-Product-Discovery-articles/Product-demo-Automation-for-Delivery/ba-p/2057152>


author: Nick H
body: Hi [@Jaime Laird](/t5/user/viewprofilepage/user-id/5271457) ,

This should be possible through an automation with something as simple as this:

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

1. WHEN the Jira delivery status transitions to *Selected for development*
2. and IF the Linked issue *Implements*
3. THEN transition the JPD idea's status to *In development*

\^ You'd just want to swap your Jira and JPD statuses in steps 1 and 3

Also note - my automation has both the Jira and JPD projects selected in the Rule details. It could be left global as well, or specific to only some of your projects:

![auto2.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/277861iFC52433ADEB2AB4B/image-size/large?v=v2&px=999 "auto2.jpg")
Slack integration to post in slack channel when idea is created
Asked by Steve Aitken:

When I try and set up this integration for this project I consistently get an error saying "You cannot edit the configuration of this project.".

Digging in further I'm told "App does not have write access to the project" and I should edit the Permission Scheme granting all permissions to the Project Role `atlassian-addons-project-access`. I've tried editing the defaul permissions scheme, but I cannot find a permission scheme that is specific for my Jira Product Discovery Project, which I'm thinking is the issue.

Has anyone else been able to solve this?


Answers:
author: Hermance NDounga
body: Hello Steve !

I've just chatted with our support team and they let me know that they surely can fix it for you :)

Could you please open a ticket <https://support.atlassian.com/contact/#/> - make sure to select Jira Product Discovery as the product and place your site URL

and they'll reach out back to you !

Best Regards,  
Hermance  
Product Manager @ Jira Product Discovery

comments: author: Steve Aitken
body: Thank you. I've submitted a ticket.


author: Gilad Waldman
body: [@Hermance NDounga](/t5/user/viewprofilepage/user-id/430755) , I'm having the same issues and cannot create a support request (automatically being referred to ask a question in the community.

Trying to move my team into Product discovery from a different product and the slack integration is a must for us.

Can i ask for an assistant so i will be able to complete the evaluation?

Thanks.


author: Diego
body: [@Hermance NDounga](/t5/user/viewprofilepage/user-id/430755) I am having the same issue noted above with the slack integration and like Gilad, I am unable to raise a ticket.   

Whats the best way to get this permission issue remedied?  

Best, DC


author: Hermance NDounga
body: Hey [@Gilad Waldman](/t5/user/viewprofilepage/user-id/5405912) [@Diego](/t5/user/viewprofilepage/user-id/5442505)

Can you please use the button "Give feedback" and select support team? ![Screenshot 2024-03-04 at 12.33.22.png](https://community.atlassian.com/t5/image/serverpage/image-id/309980i026A1C90AD0120E6/image-dimensions/149x389?v=v2 "Screenshot 2024-03-04 at 12.33.22.png")

This will create a support ticket


author: Luke Timms
body: In July 2024 we're having this issue also. Is there a solution other than raising a 'Give feedback' ticket? The permission schemes for these is non existent...
crashlytic opsgenie integration possible ?
Asked by Vignesh AP:

I am looking to integrated firebase crashlytics incident management with OpsGenie.

Is that direct integration possible?

If not, how can I achieve this incidents from crashlytics alert management using Opsgenie?


Answers:
author: John M
body: Hi [@Vignesh AP](/t5/user/viewprofilepage/user-id/5228866) ,

We do have an integration with Crashlytics that you can read about here:

<https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-crashlytics/>

comments: author: Vignesh AP
body: Thanks for your reply John.

This article has a warning notice in its beginning stating

"Currently, we do not support Firebase Crashlytics."

And When I check the Integration section of my Firebase, I don't find OpsGenie option there. I am having owner access to my project.

Still this integration is supported ?


author: John M
body: Hi [@Vignesh AP](/t5/user/viewprofilepage/user-id/5228866) ,

It looks like we don't have a Firebase Crashlytics integration at this time but you can always utilize [our API](https://docs.opsgenie.com/docs/alert-api) and build your own connection.


author: Vignesh AP
body: Appreciate your help [@John M](/t5/user/viewprofilepage/user-id/4625213)   

I read about the APIs and understand any system that can make HTTP calls can use this OpsGenie Alert APIs ( provided the access token ).

Firebase don't have any such direct integration feature which can make API calls is what I observed.

If we can add APIs to any alerts in firebase you know, kindly help me on that.


author: John M
body: [@Vignesh AP](/t5/user/viewprofilepage/user-id/5228866)

It looks like Firebase has cloud functions that allow you to capture alert events and send them to any 3rd party system:

<https://firebase.google.com/docs/crashlytics/velocity-alerts#basic-alerts-3p>

You would then setup an [API integration](https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration/) in Opsgnie that can receive those events.

Alternatively, if you are using Jira you could post the events to Jira first, since there is an integration between Firebase and Jira, then send the events to Opsgenie from Jira.


author: Vignesh AP
body: [@John M](/t5/user/viewprofilepage/user-id/4625213) I have tried Firebase - Jira - OpsGenie integration route and that worked for me. I am able to receive alerts from OpsGenie for Firebase events.

I am yet to explore this Firebase cloud functions. I will try and figure it out the better way of reaching Opsgenie for alerts.

Your responses were very helpful. Thank you for your time and response John.
Can you limit an alert from JSM based on an issue field
Asked by Ste404:

Hi there,

If I have a field on a JSM issue called "OpsgenieAlert" with a value of true or false, is it possible in Opsgenie to only create alerts from issues if that value is true?


Answers:
author: Arumugam M
body: Hey [@Ste404](/t5/user/viewprofilepage/user-id/4984517) ,

Thank you for posting your question. This is Arumugam from Atlassian Support, happy to help!

Unfortunately, from Opsgenie side we don't have the option to filter alerts directly from the payload. However, if you are sending alerts to Opsgenie via Webhooks you should be able to filter the action to send alerts if the field has the value you are looking for.

Here is an example JQL for your reference, here OpsgenieAlert is a custom field in JSM.

![2023-05-25_18-46-24.png](https://community.atlassian.com/t5/image/serverpage/image-id/259534iBCF9333CC1190E61/image-size/large?v=v2&px=999 "2023-05-25_18-46-24.png")

You can also autoclose the alerts on Opsgenie side. For that, you can add the value from your custom field to the Extra Properties section in your alert and you can use Team Policies to close the alerts automatically.

You can learn more about JQL here: <https://support.atlassian.com/jira-service-management-cloud/docs/advanced-search-reference-jql-fields/>

You can learn more about Team policies in the link below:

<https://support.atlassian.com/opsgenie/docs/create-and-manage-team-alert-policies/>

Please let me know if you have any follow-up questions.

Thanks,

Arumugam

comments: author: Ste404
body: Hi there,

I set up the JQL that reads OpsGenieAlert = "true" which matches the custom field on the issue when it is created, but it doesn't fire.

Is the webhook triggering before the custom field update automation is run?

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


author: Arumugam M
body: Hey [@Ste404](/t5/user/viewprofilepage/user-id/4984517) ,

Yes, it could be possible that Webook is triggering before the automation rule is completed.

You might want to check if it is possible to invoke Webhook via Automation rules in Jira to see if that works for your use case.

Thanks,

Arumugam


author: Ste404
body: thanks, trying to suss that out now as it is 100% the case.

Thanks for the info.
Slack notification filter using regex
Asked by Enderson Menezes Candido:

I am creating some channels on Slack to notify me of alerts, but I only want alerts when an incident is created. I identified that the alias has a pattern, but when I put that pattern in a Slack filter, it doesn't work.  

ReGex: **\^\[0-9a-f\]{8}-\[0-9a-f\]{4}-\[0-9a-f\]{4}-\[0-9a-f\]{4}-\[0-9a-f\]{12}_\[0-9a-f\]{8}-\[0-9a-f\]{4}-\[0-9a-f\]{4}-\[0-9a-f\]{4}-\[0-9a-f\]{12}$**

Example of Alert from Incident and my Filter.

![Captura de Tela 2023-05-23 a?s 11.30.33.png](https://community.atlassian.com/t5/image/serverpage/image-id/259029i824EB1CFD2A699FC/image-size/large?v=v2&px=999 "Captura de Tela 2023-05-23 a?s 11.30.33.png")![Captura de Tela 2023-05-23 a?s 11.31.08.png](https://community.atlassian.com/t5/image/serverpage/image-id/259028i5721D2564B86782A/image-size/large?v=v2&px=999 "Captura de Tela 2023-05-23 a?s 11.31.08.png")


Answers:
author: Enderson Menezes Candido
body: It's working, sorry about that, and here's the ReGex that helps me notify only incidents to Slack. It was a time configuration error that I was having.


Tags: cloud
Find all of the Service ID's for Opsgenie
Asked by Doug Garcia:

I have an interesting question. My team is kind of Service crazy for Opsgenie, we have over 20 of them and might create more in the future. Even though I can apparently add as many Services as I want in Opsgenie itself, I also have a python script I use to requires the ID as part of the automation. I've been able to use Reqbin to run a curl command utilizing the syntax for the List command found here (<https://docs.opsgenie.com/docs/service-api>) with our API key to view these.

My problem is that there appears to be a max number of services I can view now (20). So I can see all the applicable information for Services that were existing, but anything new I can't. The only workaround I have is to delete an existing Service and a new on appears. The Services are definitely saved in Opsgenie and available in the drop down menu, but I also need the ID so I can just my scripts. Does anyone have an idea what to do here? Maybe a different API tool? I don't see a way to change any settings in Reqbin and unless I'm missing something, there's no easy way to see what the ID is directly from Opsgenie \> Settings or Services.

Thank you!


Answers:
author: John M
body: Hi [@Doug Garcia](/t5/user/viewprofilepage/user-id/5125970) ,

The [list services API](https://docs.opsgenie.com/docs/service-api#list-services) does limit to 20 services by default but you can get up to 100 by changing the 'limit' parameter. Here is what that looks like:

<https://api.opsgenie.com/v1/services?limit=100>

You can also see the service ID in the URL bar from the service's page:

![2023-05-22_17-03-57.png](https://community.atlassian.com/t5/image/serverpage/image-id/258826i296382D38C8B5452/image-size/large?v=v2&px=999 "2023-05-22_17-03-57.png")

comments: author: Doug Garcia
body: Duh... thanks a ton John. That did what I needed. So appreciate the answer.


author: Wei Wung
body: just to add to what John shared, if you more than a page of responses, you can use [pagination](https://docs.opsgenie.com/docs/pagination) to view the next page of responses.

For example, this will give you the next set of 100 if there are more than 100 services:

```
https://api.opsgenie.com/v1/services?offset=100&limit=100
```
Issues with Opsgenie and Statuspage Integration
Asked by Deepu Sasidharan:

Hello Team,

Good Evening.  
This is regarding a query that we need your support with.  
We are using opsgenie and statuspage as tools in our event management platform.  
As part of this we are having some web hook integrations where we try to get updates from the statuspage of external vendors and it gets reported into our opsgenie console as vendor outages.  
But due to some issue, these alerts are not reporting in our statuspage, even though we have an integration in place with our opsgenie and statuspage tool.  
We need your guidance and support in order to resolve this issue.  
We have many other alerts reported from opsgenie that is still getting reported in the status page as part of our opsgenie and status page integration.  
Only this webhook integration alerts from external vendor status page is only getting reported in our opsgenie page but not from opsgenie to our statuspage.

Kindly check and please suggest.

Thanks and Regards  
Deepu Sasidharan


Answers:
author: John M
body: Hi [@Deepu Sasidharan](/t5/user/viewprofilepage/user-id/5225162) ,

External services in Opsgenie create incidents, which then create alerts that flow to Statuspage. If your Statuspage integration is assigned to a team, that means that only alerts where that assigned team is a responder will be processed by the integration.

You will want to be sure to configure any external services so that they have an owner team that matches the team assigned to the Statuspage integration. This will cause the responder alerts created by the incident to have the same team as the Statuspage integration.

If that is not the issue I would try looking at the alert filters to be sure they are not filtering. out any alerts created by external services.


Tags: cloud

statuspage
Does the stakeholder role in opsgenie requires license ?
Asked by L, Priyanka:

Does the stakeholder role in opsgenie requires license ?


Answers:
author: Patricia Francezi
body: Hi [@L, Priyanka](/t5/user/viewprofilepage/user-id/5207758)

It depends on how you are using Opsgenie.

If its integrated with Jira Service Management, yes, Stakeholders need to be Jira Service Management licensed.

If you are using Opsgenie license as product, it will fit in this category

<https://www.atlassian.com/licensing/opsgenie#what-is-the-difference-between-the-user-types>

So the StakeHolders are free, if you have Opsgenie Enterprise plan.

I hope this helps


author: bhamdan
body: Can we discuss this further. We are an OpsGenie user before Atlassian acquisition.

After acquisition, users were moved to Atlassian Admin.

We also had a standalone JIRA onprem system. In moving to JIRA Cloud, they had to move users into a single Atlassian Admin enterprise account. Now I can't add Stakeholders to OpsGenie. Is it now totally broken for us, and the only way to fix it is for us to license them as full OpsGenie users, even though they only will interact with OpsGenie through an Incident. Do I have that right?


Tags: cloud