youngmon/atlassian-qna huggingface dataset:
Email notifications that take internal agents to the portal
Asked by Vaughan Rivett:

Is it possible to customize the message sent to a project's internal agents to include the URL for the portal link instead of the Jira link? This is because the portal interface is more user-friendly for this particular group of agents. Perhaps the notifications could be tailored based on the recipient's role within the project.


Answers:
author: Dave Mathijs
body: Hi [@Vaughan Rivett](/t5/user/viewprofilepage/user-id/5175103)

Internal (or Jira) notifications are intended for people who have a license, so they'll naturally lead to the product URL, Jira Service Management in this case.

Customer notifications on the other hand are intended for portal customers, these links will lead to the customer portal.

A workaround could be to create automation rules with specific conditions or the features of a third-party app to send customized notifications with non-standard links.

comments: author: Vaughan Rivett
body: All of my users have premium licenses.

I have turned off notifications and have been using rules, but for some reason I find some users who we want to be having the portal experience still end up in the Jira screens.

It would be great if there was a mechanism to have better control over notifications as they would be easier to maintain when changes are made to a workflow. There is too much overhead in using custom rules.


author: Akhand Pratap Singh
body: Hello [@Vaughan Rivett](/t5/user/viewprofilepage/user-id/5175103) ,

You can use Automation rule to send customized email to group of people and to include the Portal URL of the issue, try using {{issue.url.customer}} smart value in your Message body of the Automation rule.


Tags: agents

cloud

jira-service-management

jira-service-management-cloud

notifications

portal
How to get proper xml data from the link
Asked by Minkyu Kim:

Hello.

I'm currently making a program using vba to convert jira's xml data to excel spreadsheet.

While i'm doing this, i want to use the url of xml data, not downloading the xml data locally. But if i do this, i couldn't get the proper xml data.

The data that i recieved from the link doesn't have \<item\> tags, which contain the major information of the issues.

I really wanna know why it happens. How can i get the whole data from the link?

Thank you in advance.


Answers:
author: Trudy Claspill
body: Hello [@Minkyu Kim](/t5/user/viewprofilepage/user-id/5560428)

Welcome to the Atlassian community.

Are you working with Jira Data Center or Jira Cloud?

What URL are you using to get the xml data?

What documentation are you referencing as a guide?

comments: author: Minkyu Kim
body: Hello!

Guess that my reply has been deleted. If not, just ignore this.

I'm working with Jira Data Center I guess.

And I'm gonna use xml data generated when we click the export button.

The exact URL will be like this :

[https://jira.global.companyname.com/si/jira.issueviews:issue-xml/\~/\~.xml](https://jira.global.companyname.com/si/jira.issueviews:issue-xml/~/~.xml)

And I searched a lot of documents and after that I made a code using Server.XMLHTTP.6.0

This is the sample code that I used when importing the data from URL :

encoded = Base64Encode(":" \& token)  

Set xmlHttp = CreateObject("MSXML2.ServerXMLHTTP.6.0")  
xmlHttp.Open "GET", xmlUrl, False  

xmlHttp.setRequestHeader "Authorization", "Basic" \& encoded  
xmlHttp.setRequestHeader "User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 Edg/91.0.864.59"  
xmlHttp.setRequestHeader "Accept", "text/xml"  
xmlHttp.setRequestHeader "Content-Type", "text/xml"  

xmlHttp.send  

Set xmlDoc = CreateObject("MSXML2.DOMDocument")  
xmlDoc.LoadXML xmlHttp.responseXML.XML  

represent = xmlHttp.responseText  
Debug.Print represent

Well I didn't attach the code above about the personal information but I've got API token so I guess I could reach to the data through URL.

If I run this code, the result only contains \<channel\> tag. But the original data contains a lot of \<item\> tags inside of the channel tag. I tried hard to figure it out but I haven't solved this problem.

Is there any problem?

Thank You.


author: Trudy Claspill
body: I'm afraid your question is outside my realm of experience and knowledge.


Tags: jira-unknown-hosting-type

unknown-hosting-type
I need access to Jira project from service now from a service request form. How is integration done
Asked by Priyadarshini Bharathkumar:

So a service request form is created in SERVICENOW to access Jira project. Once the approver approves the request in servicenow, User should automatically able to access Jira projects.how could this be done? What is the integration


Answers:
author: Priyadarshini Bharathkumar
body: What I undersatnd is that I need to Install Jira spoke and use OAUTH authorisation to provide access to jira projects from servicenow service request. Is that correct. We cannot provide acces just with Jira Spoke


author: Mohanraj Thangamuthu
body: Hello, Good day. I would like to know if you have already reviewed the following doc : <https://docs.servicenow.com/bundle/washingtondc-it-asset-management/page/product/software-asset-management2/concept/integrate-with-jira.html>


Tags: jira-service-management

jira-unknown-hosting-type

unknown-hosting-type
Set Custom User Picker Field in Jira Server 9.4.24 with v2 API
Asked by Steve Rosenberry:

I'm trying to update the value for a custom user picker field on an issue using the REST v2 API and Jira Server 9.4.24. Googling only seems to return answers for Jira Cloud and a lot of discussion about having to use the account ID of the user.   

Trying to extrapolate (unsuccesfully), I query for the user information using:

```
https://domain_name.com/rest/api/2/user/search?username=<user name>
```

The response does NOT include an account ID, so I'm at a loss there.  

But I'm also not seeing a REST v2 API to set the value on a custom field of any kind. Closest I found was:

```
POST /rest/api/2/field
```

to create a new custom field, but nothing to set a value on a custom field

Apologies if I'm just missing it...


Answers:
author: Hans Polder
body: [@Steve Rosenberry](/t5/user/viewprofilepage/user-id/2165774) ,

Welcome to the community!

I think you should use (<https://developer.atlassian.com/server/jira/platform/rest/v10000/api-group-issue/#api-api-2-issue-issueidorkey-put>) as way to update an issue.

There is no such thing as 'accountID' in Jira DC/Server, so you'll likely have to use the email address or login name to set the field correctly.

Also, keep in mind that the APIs for DC/Server work significantly different from how the Cloud APIs are setup, so definitely read through the DC/Server documentation and not the Cloud documentation: <https://developer.atlassian.com/server/jira/platform/rest/v10000/intro/#gettingstarted>

Good luck!

comments: author: Hans Polder
body: [@Steve Rosenberry](/t5/user/viewprofilepage/user-id/2165774) ,

Any luck figuring it out? If so, kindly accept my answer to help others find it! :)


Tags: data-center

jira-data-center
Newly Created Jira cards, regardless of the sprint I create them in, automatically go to backlog
Asked by Jason Bengtson:

When creating new Jira cards I will sometimes like to create a card directly in the Sprint it will be completed in. Recently however in a board I have recently taken over the card, regardless of what Sprint it is created in, will automatically get sent to the backlog. Is there a way to turn off this feature as it is rather annoying to have to drag and drop everything when I could just create it directly in the sprint.

Thanks!

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


Answers:
author: Trudy Claspill
body: Hello [@Jason Bengtson](/t5/user/viewprofilepage/user-id/5560373)

Welcome to the Atlassian community.

What is the project type of GEN project? You can get that information from the Type column on the View All Projects page under the Projects menu.

You said that you can drag issues from the backlog into sprints, so that indicates that you have adequate permissions to add issues to sprints.

There may be an automation rule that is causing the issues to be moved from the sprint into the backlog. If you review the History information for the newly created issue, does it show the Sprint field being set and then cleared?


Tags: cloud

jira-cloud
With more than one field with same name, how referenced in a query?
Asked by Pat Schilling:

Seems there are two "release" fields on our issues. The fields were not added under our account, not "Custom Fields". However, we would like to use one of these fields for recording and selecting the issue related software release.

How do I find the query field name for each of the two "release" fields?

Any query fails with:  
release is "tug524" AND ... etc.

A query succeeds with:  
release is not EMPTY AND ... etc.

The resulting list has two columns for the releases. Under the configure columns, two "release as short text" field appear (checked for inclusion).

Any clues?

<br />

<br />


Answers:
author: Trudy Claspill
body: Hello [@Pat Schilling](/t5/user/viewprofilepage/user-id/4444431)

Can you provide an image an an issue showing the two "release" fields you are referencing, and point them out?

Are you working with issues in a Company Managed project or a Team Managed project? Get that information by going to the View All Projects page under the Projects menu. That will show you a list of all projects to which you have access. Find the project in the list, and tell us what is says for your project in the Type column.

These sound like custom fields. If they exist in a Team Managed project then they will not appear in the global Custom Fields screen, because they are local to just that one project.

If you want a field where you can select from the values that you set up on the Releases screen...

![Screenshot 2024-08-04 at 5.03.36?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/339903i4687A3F2E1981711/image-size/large?v=v2&px=999 "Screenshot 2024-08-04 at 5.03.36?PM.png")

...you will need to use a field that is of the Version Picker type.

There is a system defined field called Fix Versions that you can add to your issues, or you can create a custom field or the Version Picker type from the global Custom Fields screen accessed by clicking the gear icon (in the upper right corner near your avatar), selecting Issues, then Custom Fields.


Tags: field-configuration

jira-cloud
Something went wrong Error after a few Minutes I log in
Asked by Janith Bandara:

After some time once I log in,

Something went wrong error page is shown when I go to the SCRUM board page and backlog.


Answers:
author: Seon Shakespeare
body: Hi [@Janith Bandara](/t5/user/viewprofilepage/user-id/5560348)

Welcome to the community!

Without more details (like screenshots or the exact error message), it's tough to say for sure what's going on.

But here are a few things to try:

1. **Clear your browser cache and cookies.**
2. **Try a different browser or incognito mode.**
3. **Check the Atlassian Status Page for outages:** <https://status.atlassian.com/>

If the problem keeps happening, you might need to reach out to Atlassian Support for more help.

Hope this helps!


author: Carlos Garcia Navarro
body: Hi [@Janith Bandara](/t5/user/viewprofilepage/user-id/5560348) ,

Welcome to the Community! In addition to the good advice from Sean, can you please check if other users are having the same issue? Is this the first time it happens? If it happens with other browsers, can you also try with another computer or laptop? Thanks!


Tags: cloud

jira-cloud
How do you Jquery tickets that are in current sprint and 2 future sprints ahead?
Asked by Sherwin Soriano:

I am planning to create a dashboard that will automatically have the filter for current and 2 future sprints for a specific squad.

I know that the current sprint has a query of ()Opensprint but I do not know how to determine the query for the 2 future sprints.


Answers:
author: Trudy Claspill
body: Hello [@Sherwin Soriano](/t5/user/viewprofilepage/user-id/5369859)

Refer to the futureSprints() function on this page:

<https://support.atlassian.com/jira-software-cloud/docs/jql-functions/>

comments: author: Sherwin Soriano
body: Thank you [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011) but I wanted to know if I can limit the future sprints in the query, like only the succeeding 2 future sprints from the current sprint, is this possible?


author: Trudy Claspill
body: Hello [@Sherwin Soriano](/t5/user/viewprofilepage/user-id/5369859)

This does not appear to be possible.

Jira does not provide a native method to do this in JQL.

ScriptRunner has a function to get issues from the "next" sprint when you specify a specific board. But that is only one next sprint, not two.

<https://docs.adaptavist.com/sr4jc/latest/features/scriptrunner-enhanced-search/jql-functions#nextsprint>

I used Google to search for an answer to your question with this as the search:

*jira cloud jql for a specific number of future sprints*

I found a number of community posts where people asked the same question, and there were no JQL solutions mentioned other than the ScriptRunner option for nextSprint().


Tags: cloud

jira-cloud
Domain got verified but missing from domain link drop down menu
Asked by Moshe Grinberg:

Hi,  

I tried to add a domain using DNS. I got it verified but it's missing from the domain list drop down menu so I can't link it to my Azure SAML. What should I do?  

Thanks


Answers:
author: Manne Kj?rby - ProProces
body: Hi Moshe

Have you Claimed any users yet?

Kind regards

Manne


Tags: azure

cloud

jira-cloud

saml

sso
Is 'Store Jira data on your own device' doable/useful?
Asked by Olga Strigul:

The article:

* [Import and export your data to and from Jira Cloud](https://support.atlassian.com/jira-cloud-administration/docs/import-and-export-your-data-to-and-from-jira-cloud/)

Does that mean that I can download on my comp. my peace of Data - to complete, send the emails or attach smthng, generally speaking, to work with?


Answers:
author: Brant Schroeder
body: [@Olga Strigul](/t5/user/viewprofilepage/user-id/5251044) welcome to the Atlassian community

The documentation is talking about how you can restore from other system and how you can download cloud backups that could be used to restore your cloud instance if needed. If you download it it will be in backup format and you would not be able to access the application on you local computer. It is just a backup of your cloud instance at that time.


Tags: cloud

jira-cloud

jira-cloud-administration

not-applicable
?Como contacto a soporte de Jira?
Asked by Marlon Tafur_NDO:

Como me puedo contactar con el soporte de Jira, ya que solo me salen recomendaciones de como arreglar este problema m?s no la soluci?n, yo trabajo por parte de esto y ya me est? trayendo inconvenientes, necesito una soluci?n cuanto antes. ![Error.PNG](/t5/image/serverpage/image-id/339876i949FCB80952C42DB/image-size/large?v=v2&px=999 "Error.PNG")


Answers:
author: Carlos Garcia Navarro
body: Hola [@Marlon Tafur_NDO](/t5/user/viewprofilepage/user-id/5558784) ,

Bienvenido a la Community! Qu? est?s intentando hacer? Has probado con navegadores (browsers) diferentes? Ademas de lo que Bill menciona en su respuesta, si haces click en el enlace a solicitud de asistencia, esto deber?a llevarte a la pagina de soporte.


author: Bill Sheboy
body: Hi [@Marlon Tafur_NDO](/t5/user/viewprofilepage/user-id/5558784) -- Welcome to the Atlassian Community!

Customers may only submit tickets to Atlassian Support if they are on a paid license, such as Standard or higher. In that case, your Jira Site Admin may submit a ticket here: <https://support.atlassian.com/contact/#/>

For Free license users, the Atlassian Community can try to help. In that case, please describe the problem you are trying to solve and the symptoms to the community can offer suggestions.

Kind regards,  
Bill
How to integrate Jira to Mattermost?
Asked by Karmandroid Singularity:

Is there any way to integrate Jira webhook to Mattermost without access to Jira system administrator?

My purpose is simple, whenever an issue created and/or updated, it will automatically send a chat on Mattermost to the assignee.


Answers:
author: Mohanraj Thangamuthu
body: Hello, Good day. You can use one of the following options, but both will require admin permission.

1. Create automation rule to send the webhook data

2. Create Webhook from Settings \>\> System \>\> Webhook.

![Screenshot 2024-08-05 at 10.38.44?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/339926iFFEFD370AAC5F969/image-size/large?v=v2&px=999 "Screenshot 2024-08-05 at 10.38.44?AM.png")

comments: author: Tash
body: Hi [@Mohanraj Thangamuthu](/t5/user/viewprofilepage/user-id/4628433) , can I confirm that the plugin works with Jira 9?


author: Mohanraj Thangamuthu
body: Yes, please refer to the link : <https://confluence.atlassian.com/adminjiraserver0900/managing-webhooks-1142254714.html>


author: Andrey Ivanov
body: Hello! Can you tell me how I can integrate Mattermost - Jira  
I want to make it so that if a task is created in some project, then it sends an alert to the selected channel


Tags: data-center

jira-data-center
Querying for exact string in Jira Cloud API
Asked by Inna S:

Hi,

Searching for specific Release / Version via API using

/rest/api/3/project/{projectIdOrKey}/version?query=string

and the results are not strict:

if I have a version 'aa' and another one 'aaa', the search for 'aa' brings both.

What is the proper way to request a strict string match with the Jira Cloud API?

Thank you


Answers:
author: Bill Sheboy
body: Hi [@Inna S](/t5/user/viewprofilepage/user-id/4979185)

How are you calling the *Get Project Versions Paginated* one: automation rule, external app, something else?

<https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-versions/#api-rest-api-3-project-projectidorkey-version-get>

Regardless of the approach, the documentation only describes the query parameter used to search the name or description, with little other filtering. When you need more granularity, perhaps initially filter on what you describe using the call and then use a regular expression on the results. For example, with an automation rule that could be with the match() function.

Kind regards,  
Bill

comments: author: Inna S
body: Hi [@Bill Sheboy](/t5/user/viewprofilepage/user-id/1685313) ,

thank you for the suggestion.

I am running from within the automation rule, looking for specific version

rest/api/3/project/\<projkey\>/version?query={{Version}}

The ultimate goal is to get the scope creep info: items added to a version past its start date. But because Jira has nothing of the sort, I'm going step by step to retrieve the version details, issue history, compare the dates, etc. And now there are extra steps (looping over the list, regex) to get to the version.

It sounds like a lot of work for the basic functionality that should have been in the product long ago.


author: Bill Sheboy
body: Like any programming language, Atlassian Automation has its strengths and weaknesses. As it continues to evolve with new features, keep watching for community posts and the [weekly release blog](https://confluence.atlassian.com/cloud/blog) of improvements that may help make your scenario easier.


Tags: api

cloud

jira-cloud
Create issue dialog context
Asked by Daniel Cosmus:

Hello,

i have an plugin and added a new .js-File to the context. But it is not working inside the issue create dialog.

I used this context inside the atlassian-plugin.xml

```
<context>jira.rich.editor</context>
<context>jira.view.issue</context>
<context>jira.edit.issue</context>
<context>jira.create.issue</context>
<context>gh-rapid</context>
<context>atl.general</context>
```

If the dialog is open on top of the issue view its working but not for example on the dashboard.

Best regards

Daniel


Answers:
author: Lisa Forstberg
body: Hi [@Daniel Cosmus](/t5/user/viewprofilepage/user-id/2527677)

If you're building apps for Jira maybe you get swifter replies if you post questions in developer community see <https://community.developer.atlassian.com/>

all the best

Lisa


Tags: jira-server

server
Tracking unplanned release work
Asked by Inna S:

Hi,

our team is looking for the way to track unplanned work for release.

That is work items added to the release scope AFTER the scope has been finalized.

I'd say this can be redefined in the Jira term as 'issues added to a fixVersion after the fixVersion start date'.

I'm coming from Rally, where we had 'scope creep' on both the Sprint and the Release levels as a basic report. Jira does not have anything like this and I wonder how to get the information.

Any suggestions?

Thank you.


Answers:
author: Rebekka Heilmann _viadee_
body: Hi [@Inna S](/t5/user/viewprofilepage/user-id/4979185)

the only solution I can think of will involve API calls and some scripting.

1. [Get all issues of the version](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-versions/#api-rest-api-3-version-id-relatedissuecounts-get) you want to inspect, Also[get the version](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-versions/#api-rest-api-3-project-projectidorkey-versions-get) including all details
2. [Get the change log](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-changelog-get) (issue history) of each history and check for the entry where the issue has been added to the version - check the date of that entry
3. Is the date after the start date of the version? -\> unplanned

There might be Marketplace Apps out there, that do exactly that.

comments: author: Inna S
body: Thank you, [@Rebekka Heilmann _viadee_](/t5/user/viewprofilepage/user-id/5182395) .

They want to have it in the Jira context.

This sounds like a lot of work for the very basic function that should be in the product core.

I was thinking about adding an extra field to the issues to mark them whenever they are added to a version past the version's start date. This way the team could easily query for such issues whenever they need to, inside Jira and not going elsewhere.


author: Inna S
body: The API results for the change log is a joke: the history of the issue shows the change of the fixVersions value almost instantly. It messes the order of the change (new value first, removal of the previous one later), but at least it is there.

The toString in the history results is missing the latest change. I've given it 5 min delay before calling the API to get the history, and the latest value is still not there. It would appear there once the next change is made though.

Unbelievable.


Tags: cloud

jira-cloud