youngmon/atlassian-qna huggingface dataset:
Identify the Smart Value for Sprint Name
Asked by Jill Fitzgerald:

I have automation to create stories that must exist in each sprint for specific people. It is beneficial to include the sprint name in the story's summary. I cannot figure the json or smart value to use to append that data.

This is the automation to create the story. The sprint name needs to appear after "KLO On-call" in the Summary field.

![Screenshot 2024-08-27 154835.jpg](/t5/image/serverpage/image-id/344113iA9D1CD101F3BA761/image-size/large?v=v2&px=999 "Screenshot 2024-08-27 154835.jpg")

This is for the story created using the above automation. It successfully placed it in the next sprint "AUG24-18 Letters 8/28-9/10".

How can I get that information to also appear in the Summary field?

```
{  "expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",  "id": "1569958",  "self": "https://enterprise-jira.onefiserv.net/rest/api/2/issue/1569958",  "key": "OSPLT-3660",  "fields": {    "customfield_15400": null,    "customfield_15401": null,    "customfield_10110": null,    "fixVersions": [      {        "self": "https://enterprise-jira.onefiserv.net/rest/api/2/version/51163",        "id": "51163",        "name": "No Release",        "archived": false,        "released": false      }    ],    "customfield_11200": {      "self": "https://enterprise-jira.onefiserv.net/rest/api/2/customFieldOption/15600",      "value": "? Green",      "id": "15600",      "disabled": false    },    "customfield_10111": null,    "resolution": null,    "customfield_15403": null,    "customfield_11831": null,    "customfield_10106": [      "com.atlassian.greenhopper.service.sprint.Sprint@3b3928f4[id=18342,rapidViewId=4784,state=FUTURE,name=AUG24-18 Letters 8/28-9/10,startDate=2024-08-28T13:21:00.000Z,endDate=2024-09-11T13:21:00.000Z,completeDate=\u003Cnull\u003E,activatedDate=\u003Cnull\u003E,sequence=18342,goal=\u003Cnull\u003E,synced=false,autoStartStop=false,incompleteIssuesDestinationId=\u003Cnull\u003E]"    ],    "custom
```


Answers:
author: Marc - Devoteam
body: Hi [@Jill Fitzgerald](/t5/user/viewprofilepage/user-id/5578129)

Welcome to the community.

After the issue creation, add a branch in your automation based on most recent created issues and then edit the summary field.

To append the information set the summary as follows {{issues.summary}} - {{issues.sprint}}

comments: author: Jill Fitzgerald
body: This worked. Thank you!


author: Kalyan Sattaluri
body: Hello [@Jill Fitzgerald](/t5/user/viewprofilepage/user-id/5578129)

Do you know if Sprint will be active (started) when this automation were to run? That determines if you have access to the open sprint..

comments: author: Kalyan Sattaluri
body: Also, not only that a sprint is active, there must be stories in the sprint.. then we can do lookupIssues and get the sprint name...


Tags: data-center

jira-data-center

json

smart-value

sprint
Jira Cloud Teams Integration - Receiving Intermittent Notifications
Asked by Victor:

The Jira Cloud connector was setup in Teams to notify each time a comment was created in any issue in our Jira project.

Starting Monday, August 27, the notifications from Jira Cloud stopped working and we only receive notifications intermittently. Only 5% of notifications are delivered, and they usually take 15 minutes or more from post.

I have removed and readded Jira Cloud, signed out of and back into Jira Cloud, reset the notifications settings in Jira Cloud. After working with our IT Admin, nothing was found in our environment that could be blocking the notifications from being delivered.  

Has anybody run across this issue?


Answers:
author: Mirek
body: Hi [@Victor](/t5/user/viewprofilepage/user-id/5482747)

Maybe this have any relation whit this recent announcement?

<https://community.atlassian.com/t5/Automation-articles/Update-on-sending-Microsoft-Teams-messages-with-Atlassian/ba-p/2780258>


Tags: addon-microsoft-teams

cloud

jira-cloud

ms-teams
How to ignore transition validator when resolution field is set to a given value
Asked by ruben beaujolais:

Hello,

For a given status :

* I've configure a screen
* I've configured a property for the user to set a resolution on transition.
* And I've also configured a transition validator with a filed required (must not be empty). (An error message is also displayed in case field is empty in the screen)

How to ignore the validator when the user set a given resolution value within the screen.

I mean, I want the user to be able to go through the transition when he set the resolution to a given value in the screen (while the error message is currently displayed because the field is empty).

Thank you in advance.


Answers:
author: Maciej Dudziak _Forgappify_
body: Hi [@ruben beaujolais](/t5/user/viewprofilepage/user-id/5348463)

You can create conditional validations with Jira expression-based validator. There are several options available on the Atlassian [marketplace.](https://marketplace.atlassian.com/search?query=jira%20expression%20validator)

I am from Forgappify, and we developed Jira Expression Validator, which is part of the [Workflow Building Blocks for Jira](https://marketplace.atlassian.com/apps/1233642/workflow-building-blocks-for-jira?hosting=cloud&tab=overview) app. The expression you might use could look something like this:

```
issue.resolution != null && issue.resolution.name == 'Fixed' 
  ? true
  : issue.customfield_xxxxx != null
```

You need to change the ID of the custom field to a valid one. In the editor, after 'issue.', start typing the name of the field, and you will get suggestions with the correct value.

I am leaving a link to the [app's documentation](https://docs.forgappify.com/workflow-building-blocks-for-jira/jira-administrator/jira-expressions-library) if you are interested.

I hope it will help.

Cheers


author: Chris Rainey
body: Hi there,

To make sure I understand - you are looking for the validator to be ignored if a resolution is set on the screen that shows during the transition?

What is the behavior of this workflow status and transition currently?

comments: author: ruben beaujolais
body: Thank you for answering.

Yes.

At the moment, the user user have to provide a value to pass the validator while this value is not needed, because not relevant for the chosen resolution.


author: Chris Rainey
body: Ah okay - so this is a separate field with a validator, not the resolution field. And this validator needs to be skipped depending on option in the resolution field at the time of the transition?


author: ruben beaujolais
body: Yes


author: Chris Rainey
body: Is the resolution being set at this same screen or is it being set before this particular transition? It may also help if you were to share an image of the workflow.


Tags: cloud

jira-cloud

jira-software
Calling REST API in Postman
Asked by Lori Milam:

I inherited a collection of API calls to create a project and all of its pieces according to our company's standards. I have created my token. I created username and password global variables and have populated them with the correct values. All of the API calls are then using the global variables for authentication. When I attempt to run the collection I receive

"You are not authenticated. Authentication required to perform this operation." on the first API call.

I don't understand what I'm doing wrong or missing. I've searched through the community looking for things that I might be missing and I don't see anything.

Does anyone have any ideas?


Answers:
author: Chris.Phillips
body: It would help if you posted why kind of authentication you are using.  

For reference:  
[API authentication and authorization in Postman \| Postman Learning Center](https://learning.postman.com/docs/sending-requests/authorization/authorization/)

comments: author: Lori Milam
body: Sorry it's Basic Auth.


Tags: cloud

jira-cloud
Sending Issue Summary to Zabbix via Automation Rules
Asked by Vish Reddy _Revyz_:

Hi All,

Has anyone integrated Jira and Zabbix via an Automation rule to do the following:

- When an Jira Issue is created, an automation rule fires to send the summary of the newly created issue to Zabbix

Appreciate any pointers on how to achieve the above.

Thank you

Vish


Answers:
author: Nathan Phillips
body: Hello [@Vish Reddy _Revyz_](/t5/user/viewprofilepage/user-id/4639960) ,

Thank you for reaching out on the Atlassian Community.

While I personally have not seen any Cloud Users running Zabbix, that does not mean your goal is not possible.

I jumped directly into our Atlassian Marketplace and found that Zabbix did indeed have an Atlassian Marketplace page, although this was for Jira Server only:  
[https://marketplace.atlassian.com/apps/1215171/zabbix-plugin?tab=overview\&hosting=server](https://marketplace.atlassian.com/apps/1215171/zabbix-plugin?tab=overview&hosting=server)

While we do not directly have a Zabbix marketplace equivalent for Jira Cloud, you may be able to accomplish your goal using the Automation 'Send Web Request' action, so long as you can put together an HTTP request which can be processed by your receiving application.


Tags: cloud

jira-cloud
Why doesn't my draw.io macro show up when it's in a collapsible panel that starts collapsed?
Asked by Taylor Douthitt:

I have a draw.io macro that I want to be housed in a collapsible panel. It shows up fine when the collapsible panel starts expanded, but I want it to start collapsed. Is there a work around for this issue?

\*Note - I've already tried it with directly creating the draw.io in the panel, I used the excerpt include to see if that would work.

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


Answers:
author: Bastian -drawio Diagrams-
body: Hi Taylor, thanks for your request.

The container shape will always be displayed how you left the diagram editor when you last saved it. So when you work on your diagram and before you save collapse all container shapes, they will always be displayed collapsed when users access the diagram in view mode.

Sincerely,  
Bastian

comments: author: Taylor Douthitt
body: I'm not sure I understand, does this mean the draw.io will never be viewable if I default the collapsible panel to start as collapsed?


author: Bastian -drawio Diagrams-
body: Hi Taylor. Sorry, misunderstood your initial question. If you want to modify the way draw.io diagrams are shown inside the Confluence Expand macro (or whatever macro you prefer), we as an app vendor have no influence on how our diagrams are displayed. You have to issue a feature request with Atlassian if you like to change the behavior of Confluence built-in macros.


Tags: data-center

jira-data-center
Bulk Copy Issues (with attachments, comments, etc) from one project to another
Asked by Farhad Babury:

Hello -

I am looking to bulk copy issues from one project to another and preserve all data in the source project. Bulk Move will permanently move source data to target so this is not an option as need source data to still be preserved for validation purposes.

Is there an easy way to perform this bulk clone job without purchasing an app?

Thanks in advance.


Answers:
author: Trudy Claspill
body: Hello [@Farhad Babury](/t5/user/viewprofilepage/user-id/5403470)

When you say you want to copy the issues, due you mean absolutely all the data?

* The issue history of all changes to fields and statuses?
* All comments?
* All Work Logs (if there are any)?
* Links to other issues?

I don't believe there is an "easy" method to achieve this without an app.

Automation Rules could be used to copy the issues but it would not copy the issue history. Automation could copy the attachments, comments, and links. It would essentially be creating a new issue, so the status of the issue would be set to the initial status for issues in the destination project. You would have to also automate transitions to get each issue to the same status it is currently in.


author: Chris Rainey
body: Hi Farhad,

Have you looked into exporting Jira issues to a csv and then reimporting that csv into another project? That should allow you to keep issues in that source project but also have those issues in another project and through this function, you can specify whether you want to map fields during the import.

Also, there is a feature request to add cloning as a bulk operation [here](https://jira.atlassian.com/browse/JRACLOUD-37520). I suggest voting and watching this as well.

comments: author: Farhad Babury
body: Hi Chris - thanks for the quick response. yes, but the CSV option would not include copying over attachment data (unless I am mistaken). We have hundreds of issues with many attachments (PDFs, images, etc) and want those to be migrated over as well.


Tags: cloud

jira-cloud
JQL And statements or statement
Asked by Holly Schomann:

I would like to create a JQL filter that will show one individuals work from 2 separate fields, in the current open sprint.  
For example, please show me any ticket in which John Smith is the assignee of the ticket or if John Smith is the QA Tester of the ticket AND those tickets are in the open sprint.  

For some reason, I can't get both the And or statement to both work. This is what I have tried, what am i doing wrong?  

Thanks  

Holly  

project = DA  

AND assignee = 6385a95c00cb2fc3f989925b  

OR "QA Tester\[User Picker (single user)\]" = 6385a95c00cb2fc3f989925b  

AND sprint IN openSprints() ORDER BY created DESC


Answers:
author: Mikael Sandberg
body: When you are using OR in your filter it important to also use (). The way your JQL is currently configured it will get you all issues in the DA project that are assigned to John Smith OR all issues in any project that John Smith is the QA Tester and in an open sprint.

This should get you the result you are looking for:

project = DA AND (assignee = 6385a95c00cb2fc3f989925b OR "QA Tester\[User Picker (single user)\]" = 6385a95c00cb2fc3f989925b) AND sprint IN openSprints() ORDER BY created DESC

comments: author: Holly Schomann
body: Thank you SO much! This was driving me crazy!!!


Tags: cloud

jira-cloud
Need right plugin to create report
Asked by Prathap DL:

Hello community,

I need to create bar chart based on Part numbers.

RC is the issue type which has part number Field where user can enter single or multiple values.(Drop down Field)

Bug is the another issue type where Bug will be linked to RC.

One Bug can link with multiple RC. But one RC can link with Single Bug.

Now i need count of Bugs which are affected by part number.

I hope below image will give more clarity on the Report

Note: Part number Field is there in RC and The connection between RC and Bug is only through Link. Now i need count of Bugs which are affected through Part number.

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


Answers:
author: Maria Barrios (Adaptavist)
body: Hi [@Prathap DL](/t5/user/viewprofilepage/user-id/5541334) ,

You could do this easily with Scripted Fields in [ScriptRunner for Jira Cloud](https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud&tab=overview) if that's available to you. [Scripted Fields](https://docs.adaptavist.com/sr4jc/latest/features/scripted-fields) allows you to calculate information and display it in different ways, as a table for instance, using emojis, banners, hyperlinks etc., which could help you to build a visual representation of the data.  

If you wanted to build this chart in a different format outside of Jira, ScriptRunner could also assist you here by communicating with the Confluence REST API and creating it there with a [Script Listener](https://docs.adaptavist.com/sr4jc/latest/features/script-listeners), for example, every time an issue has a new part number added to it.  
I hope this helps, and feel free to reach out if you have any follow-up questions.


Tags: cloud

jira-cloud
How fix my automation to change the status of a task under the same epic?
Asked by Jeremi Nilsson:

How do I fix my automation to change the status of a task in correlation to another task's status only under the same epic?

![image.png](/t5/image/serverpage/image-id/242689i140D459946117B5A/image-size/large?v=v2&px=999 "image.png")

My goal is to automatically change the PCAP - Baseline task to in progress when C\&D - Baseline is marked complete but only within the same Epic (baseline in this case)

Some tools I have to work with are,

Labels for PCAP - Baseline task are, Workflow and PCAP

Labels for C\&D - Baseline task are, Workflow and C\&D

This is what I have so far![Screen Shot 2023-02-27 at 11.54.30 AM.png](/t5/image/serverpage/image-id/242691iF32F4A4AF0863189/image-size/large?v=v2&px=999 "Screen Shot 2023-02-27 at 11.54.30 AM.png")

and my audit log

![Screen Shot 2023-02-27 at 11.56.14 AM.png](/t5/image/serverpage/image-id/242693i447FD9D9A8073B27/image-size/large?v=v2&px=999 "Screen Shot 2023-02-27 at 11.56.14 AM.png")


Answers:
author: Trudy Claspill
body: Hello [@Jeremi Nilsson](/t5/user/viewprofilepage/user-id/5156121)

The branch you have specified (For Stories or other issues in Epic) only works when the issue currently in context is an Epic. In your case the issue in context is a child of an Epic.

I would recommend that instead you use the Branch for Related Issues/JQL and use a JQL statement to retrieve the sibling issue.

```
project=<your project> and "Epic Link" = {{issue.Epic Link}} and Labels = Workflow and Labels = PCAP
```

Within that branch you can then set the Status value of the found issues. You can either set it to an explicit value, or copy it from the trigger issue using the smart value {{triggerIssue.status}}

(My use of Epic Link in the JQL assumes you are addressing issues in a Company Managed project. If you are working with a Team Managed project the criteria is slightly different.)

comments: author: Jeremi Nilsson
body: Thank you for the response [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)

Applied the JQL

![Screen Shot 2023-02-27 at 4.52.23 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/242748i684B01D552DE4B2F/image-size/large?v=v2&px=999 "Screen Shot 2023-02-27 at 4.52.23 PM.png")

I got the error below

![Screen Shot 2023-02-27 at 4.53.52 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/242749i1CC4914CF7CC0855/image-size/large?v=v2&px=999 "Screen Shot 2023-02-27 at 4.53.52 PM.png")


author: Trudy Claspill
body: You need to replace the text **\<your project\>** with your actual project key **AO**.


author: Jeremi Nilsson
body: That was it, Thank you much [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)

Greatly appreciated!


author: Trudy Claspill
body: You are welcome, [@Jeremi Nilsson](/t5/user/viewprofilepage/user-id/5156121)

If you problem has been solved, please consider marking the Answer thread as Accepted to help other users find posts with working solutions.
Set and hide Summary during issue creation?
Asked by Jonathan Smith:

In cloud, I am looking to set the summary field to a default value and hide it during issue creation.

* Setting the summary on the create screen is also an option - if possible.

We can do this with scriptrunner on server, but are we able to do this out of the box with Jira automation or cloud post functions?

Thanks for any feedback!

Jonathan


Answers:
author: Nic Brough -Adaptavist-
body: You can not do this, and you shouldn't be doing it either. The summary field is the most important field that a human puts into an issue when they raise it, and it's not automatable deliberately, because the field is there for the humans to summarise what they are asking for.

comments: author: Jonathan Smith
body: [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454)

We have a function outside of Jira that we are trying to incorporate into Jira.

* We only want users to fill out 3 fields on their create screen.
* We don't use Summary for reporting purposes for this issue type.

Example:

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

My business units want their create screen to be as clean as possible, so while I understand Summary is required, I am looking for a way to prepopulate it and potentially hide it (like how we handle this with ScriptRunner).

If you have any other suggestions, feel free to share.


author: John Funk
body: Hi Jonathan,

The only way I know to do it is to get Jira Service Management and create your form there. Then you can hide a field (even Summary) and give it a predetermined value so the create will still happen.

comments: author: Jonathan Smith
body: [@John Funk](/t5/user/viewprofilepage/user-id/7148) Darn. No, we would be only using Jira Work Management. Thanks for your time.


Tags: cloud

jira-work-management-cloud
What happened to my dashboards?
Asked by Ken Jacobs:

I can access my projects but can no longer find my dashboards! I can go to the project board and see my issues. All i have now is a default dashboard. :(


Answers:
author: Hana Ku?erov?
body: Hi [@Ken Jacobs](/t5/user/viewprofilepage/user-id/609929) ,

it looks like you have two Atlassian accounts. This could be the reason, why you don't see your dashboards in Jira (and also why it says you are newbie here). Have you tried to check, which email is used, in your profile?

comments: author: Ken Jacobs
body: Yes I think that is the issue but not sure how to fix. I will check again.

I added a note that I have a client JIRA account and my own virtualtechwriter account. But I think it has something to do with the two profiles that both say KJ. Thanks!


author: Ken Jacobs
body: I have too many emails! :) I think I fixed it.


author: Ken Jacobs
body: Also it says I am a newbie in the community! which I am not. Also why do I have two profiles showing? ![jira.png](https://community.atlassian.com/t5/image/serverpage/image-id/242342i524AF5D9555A47E7/image-size/large?v=v2&px=999 "jira.png")

comments: author: Ken Jacobs
body: ![jira1.png](https://community.atlassian.com/t5/image/serverpage/image-id/242344iE22FB6083322A027/image-size/large?v=v2&px=999 "jira1.png")


author: Ken Jacobs
body: Filters are missing too. :( I have a client who uses Jira and I have my own personal Jira. Just wonder if they are confused with each other? I have tried to log out several times and cleared the cache.


Tags: cloud

jira-work-management-cloud