youngmon/atlassian-qna huggingface dataset:
Setting Fix Version/s via rest api using a dictionary in Python
Asked by Tom Garland:

Hi.

I'm trying to create a new jira story using a dictionary in python. Everything works except the setting of the Fix Version/s field. Here is the code:

------------

def create_gen_jira_story(jira_project,summary,description,issuetype,assignee,labels,fixby,fixversion):

# Creates a general jira story with a pre-defined set of values. Uses a dictionary to build the story

issue_dict = {

'project': {'key': str(jira_project)},

'summary': summary,

'description': description,

'issuetype': {'name': issuetype},

'assignee': {'name': assignee},

'labels': \[labels\],

'customfield_10002': str(fixby),

'fixVersions': fixversion

new_issue = jira_con.create_issue(fields=issue_dict)

----------------

when I run the python script I get the following error:

response text = {"errorMessages":\[\],"errors":{"fixVersions":"data was not an array"}}

Question is - how can I set the "Fix Version/s" field?

If I remove the "fixVersions: fixversion" line the story is created correctly

Thanks


Answers:
author: Jim Knepley - ReleaseTEAM
body: The [API documentation](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post) shows the "fixVersions" field expecting a list of dictionaries:

```
 "fixVersions": [ { "id": "10001" } ],
```

You will almost certainly need to [look up the project ID based on the version name](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-versions/#api-rest-api-3-project-projectidorkey-versions-get) to know the ID value(s) that you want to use.


author: Nicolas Grossi
body: You might try with an array of strings ? and add operation too ?

See the following example: <https://community.atlassian.com/t5/Jira-questions/Error-data-was-not-an-array-when-updating-customfield-and/qaq-p/1321407>

Nicolas


Tags: cloud

jira-cloud
Query
Asked by Trent Upshaw:

Fairly new to JIRA, and using it to track my projects at my new employer. Started setting EPICs up, but quickly realised I wanted to view them in order of importance. Since the EPIC number is set by the system, I want to sort on the Summary or Description field. I created a custom filter wioth the following:

project = "AJ Manufacturing" ORDER BY summary ASC

I also edited my Epic Descriptions to include numbers such as

*4 - ERP Implementation*

*5 - IT Policy Creation*

*I have tried editing the filter to ORDER BY description also tried modifying the description to letters such as A, B, C in place of 1, 2, 3 but the filter doesn't change my view.*

*Any help would be greatly appreciated.*


Answers:
author: Matt Parks
body: Are you looking for an order like 1 through 20 or more just a grouping of priority like High/Medium/Low?


author: Dave Rosenlund _Trundl_
body: Welcome to the community, [@Trent Upshaw](/t5/user/viewprofilepage/user-id/5526291) ?

The most common way to do this is to sort by Priority, which is a pull-down picklist that, once set, is usually not variable across projects and teams.

Conversely, Summary and Description are freeform text fields. Setting up a naming convention that everyone will adhere to correctly is probably not a recipe for success.

E.g.:

```
project in (pro1, pro2, pro3) AND issueType = Epic AND ORDER BY priority DESC
```

Hope this helps,

-dave


Tags: cloud

jira-cloud
How to remove installed app like zephyr
Asked by Sachin Waikar:

I am facing some issues with installed app Zephyr. I want to remove and install it again.

How can I do it?


Answers:
author: Trudy Claspill
body: Hello [@Sachin Waikar](/t5/user/viewprofilepage/user-id/5526321)

Welcome to the Atlassian community.

What problem are you trying to solve by "removing and re-installing" the app?

Management of apps is done from Settings (the gear icon) \> Apps, or from the Apps menu you can select Manage Apps.

You can then expand the entry for an app and find a Disable and/or an Uninstall button. You may need to first Disable the app and then Uninstall it.

![Screenshot 2024-06-21 at 11.01.02?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/331173i0F91BF180825CF9D/image-size/large?v=v2&px=999 "Screenshot 2024-06-21 at 11.01.02?AM.png")


Tags: cloud

jira-cloud
Access control for project
Asked by Roy:

Can a project be set to that ALL the Jira users have access without having to the list all names in the project Setup?


Answers:
author: Trudy Claspill
body: Hello [@Roy](/t5/user/viewprofilepage/user-id/4665291)

Yes, that is possible, depending on the project type.

For a Company Managed Software or Business project, modify the permission scheme associated with the project to grant permissions to "Any logged in user".

<https://support.atlassian.com/jira-cloud-administration/docs/manage-project-permissions/>

For a Team Managed Software or Business project, set the Access level for the project to Open or Limited, depending on the permissions you want the users to have.

<https://support.atlassian.com/jira-software-cloud/docs/next-gen-permissions/>

If you are working with a Service Management project it is a little more complicated depending on if you want the users to have Customer access or Agent access.


Tags: cloud

jira-cloud
JQL to show any issues set to Done in last 7 days
Asked by dennish_dcsorg_com:

I'm trying to create a filter that shows any issues in a certain project that were set to Done in the last 7 days, but when I run what I have it shows everything in done status

Here is what I have:

project = "Project1" and status = Done and status changed to Done before -7d

It lists 7 issues and all of them were closed last year or earlier. If I run:

project = "Project1" and status = Done

I get the same results as the first query. What am I missing?


Answers:
author: Trudy Claspill
body: Hello [@dennish_dcsorg_com](/t5/user/viewprofilepage/user-id/2023499)

[@Daryl Marsh](/t5/user/viewprofilepage/user-id/4781277) 's answer is wrong and will show a syntax error.

The correct usage to find issues changes to Done in the last 7 days would be

project = "Project1" and status = Done and status changed to Done **after** -7d

The "-7d" criteria says "the date 7 days before now", so as of today that would be June 14. With the **before** keyword you were asking for the issues changed to Done **before** June 14. If you want the issues changed just in the last seven days then you need those changed **after** June 14.


author: Daryl Marsh
body: Should use \> instead of before. Here is a link that might help - <https://community.atlassian.com/t5/App-Central/How-to-filter-issues-by-dates/ba-p/1706097>


Tags: cloud

jira-cloud
How can I assign billing admin role to user
Asked by Gabriele Morelli:

Hi there,

in my organization jira dashboard i would like to change the credit card details. I am an organization admin but not a billing admin. Furthermore: in the users list there is NO billing admin.

How can I access the payment method in order to change it?

Thanks


Answers:
author: Trudy Claspill
body: Hello [@Gabriele Morelli](/t5/user/viewprofilepage/user-id/5526296)

Welcome to the Atlassian community.

Have you confirmed that you are using the new billing experience that leverages the Billing Admin role?

Based on the documentation only a current Billing Admin can modify the Billing Admins.

<https://support.atlassian.com/subscriptions-and-billing/docs/understand-billing-administration/>

If you have no billing admins, you may need to contact Atlassian directly to get assistance with adding a billing admin.


Tags: cloud

jira-cloud
how do i remove a task from an epic
Asked by Gordon:

i accidentally added a parent (epic) to a task. now i need to remove it. move does not work.


Answers:
author: Thomas Gallagher
body: Hi Gordon,

Additionally if you navigate to the top of the Task right above the Summary by its issue Key and click on the icon for the Parent Epic you will have the option to 'Unlink parent'.

![Screenshot 2024-06-21 at 10.03.09?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/331171iB563D8FB54A0A4F1/image-size/large?v=v2&px=999 "Screenshot 2024-06-21 at 10.03.09?AM.png")

Thomas - ServiceRocket


author: Dave Rosenlund _Trundl_
body: Welcome to the community, [@Gordon](/t5/user/viewprofilepage/user-id/5526304) ?

The "move" method works best when you have to do this for multiple issues. In this case, click on the Parent issue (in the linked issue) and then click on the 'x.'

Note that the "parent" field is not shown in the Jira issue view by default. If needed, see '[Introducing the new Parent field in company-managed projects](https://community.atlassian.com/t5/Jira-articles/Introducing-the-new-Parent-field-in-company-managed-projects/ba-p/2377758)' for more info.

![Screenshot 2024-06-21 at 12.57.10?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/331168iF357FA699F739461/image-size/large?v=v2&px=999 "Screenshot 2024-06-21 at 12.57.10?PM.png")

Best,

-dave


Tags: cloud

jira-cloud
Why is it more expensive to move to an annual account vs staying on a month account?
Asked by Jason Burds:

I'm curious about why annual billing is more expensive than monthly billing.  

Does anyone know why?


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

Welcome to the Atlassian community.

We would need to see the specific pricing quotes you are viewing.

One reason it might be more expensive is because on a monthly billing cycle you pay for only the actual number of users that you have licensed. With an annual billing cycle you have to select a user tier specifying the maximum number of licensed users you expect to have at any point during that billing cycle.

Let's say you expect to a maximum of 60 users at any given point over the annual billing cycle. In that case you have to select the user tier for 51-100 users at an annual cost of $8150 (for Standard).

Now let us say you had actually 60 users each month and were on a monthly billing cycle. For twelve months that would be

60 \* 8.15 \* 12 = $5868

But if you suddenly bumped up to 100 users in the first month and stayed at 100 users for all twelve months then the cost for the year would be

100 \* 8.15 \* 12 = $9780

That is **more** than paying annually for the 51-100 user tier.

comments: author: Dave Rosenlund _Trundl_
body: Great example, [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)! I would add...

<br />

Remember that the community is a peer network of (mostly) Atlassian customers. So, in the end, we can not speak for Atlassian regarding pricing and billing.

Contact [the Atlassian Cloud customer advocate team](https://www.atlassian.com/company/contact/purchasing-licensing) if you feel a mistake has been made (if Trudy's example doesn't apply to you).

Please do come back and update this thread though. Let us know how you make out.

Good luck,

-dave


author: Jason Burds
body: We have 70 users at the moment and no plans to grow for the next 12 months.

Thanks for your answer.


Tags: cloud

jira-cloud
How do I filter out routed tickets in chart
Asked by Rylan Ziehlke:

Hi,

I'm trying to create a chart that will show me how many tickets were resolved by assignee per week, but filter out all routed tickets, and only show tickets that were fully resolved by assignee.


Answers:
author: JM Perrot
body: Hello [@Rylan Ziehlke](/t5/user/viewprofilepage/user-id/5526268), and thank you for your question.

Natively in Jira, I'm not sure it's possible (or it is not very legible), but I recently found this free add-on:

[Reports - Charts and Graphs for Jira Dashboard (Free)](https://marketplace.atlassian.com/apps/1226734/reports-charts-and-graphs-for-jira-dashboard-free?hosting=cloud&tab=overview)

With it, you can create bi-filters (e.g., solved tickets by week by assignee), and it is very simple to use.

The free version is rate-limited, but you just have to refresh the gadget, and it works fine :)

Hope this helps!

comments: author: Rylan Ziehlke
body: Thanks for the quick response JM, I'll try it out!


Tags: cloud

jira-cloud
Please I need more light on how Atlassian works with jira
Asked by justine david:

Am actually new hear and I'm ready to learn..

How does Atlassian operate??

And also how does it affect the world we are now?


Answers:
author: Fadoua
body: [@justine david](/t5/user/viewprofilepage/user-id/5526253)

Welcome to Atlassian Community!

Before we can provide any help here, what type of hosting you have? Cloud? or Data Center?

Best,

Fadoua

comments: author: justine david
body: Data


author: Fadoua
body: [@justine david](/t5/user/viewprofilepage/user-id/5526253)

Please click [here](https://www.atlassian.com/enterprise/data-center) then let me know if you have any questions.

Welcome to the exciting Atlassian World!

Best

Fadoua


Tags: analytics
Raising a ticket from Slack to Kanban Board
Asked by Dan Allenby:

Hi All,

We have a Kanban Board in Jira, which is where we track specific client onboarding activities. We are looking to amend the process so that our commercial team can raise into this board and I wanted to make it easy through a slack channel. I have connected the board and Slack and I can get to the stage I create a ticket, however, is there a way to change the default fields that Slack shows when creating a ticket and also remove fields that are not used?

The view when I create it from jira directly is ordered differently and although I have removed some fields from the layout, they still show when logging via slack.


Answers:
author: Nicolas Grossi
body: [@Dan Allenby](/t5/user/viewprofilepage/user-id/4227104) You might take a look at this thread: <https://community.atlassian.com/t5/Jira-questions/Slack-jira-create-from-a-message-thread/qaq-p/1811652>

Nicolas


author: Emel Do?rus?z
body: [@Dan Allenby](/t5/user/viewprofilepage/user-id/4227104) , this is all configurable in Actioner plugin for Jira. You can even show custom fields, or show certain fields on condition. Please check out: [https://marketplace.atlassian.com/apps/1230509/jira-for-slack-by-actioner?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1230509/jira-for-slack-by-actioner?hosting=cloud&tab=overview)  

<https://actioner.com/app-directory/jira-software-22>  

Let me know if you need any help.   

Cheers,   
Emel @ [Actioner](http://www.actioner.com/)


author: Alexis Leites
body: Unfortunately this is not yet possible :(  

I share the issue where this functionality is requested:  
[\[API-157\] Customize the fields from the create issue from Slack to Jira - Create and track feature requests for Atlassian products.](https://jira.atlassian.com/browse/API-157)  


Tags: cloud

jira-cloud

slack
Exclude project sprints in a jql filter
Asked by Wakil BENAMOUR:

Hello everyone, I would like to know if it is possible via a JQL filter to exclude the current and future sprints of a particular project from the list of projects in my JQL?

Here is the filter:

project IN (TSN, TG, SR, SAD, CYB, AP, SEES, SIA,EDT,OC,SEDF,SEUES,SFRG) and (Sprint != 2265) and (Sprint != 2287) and status != Completed ORDER BY Rank ASC

I'd like to exclude current and future sprints from the "CYB" project, because the sprints are coming up on my board and getting mixed up.

So far I've managed to exclude the 2 sprints manually with : "and (Sprint != 2265) and (Sprint != 2287)", I'd like to know if it's possible to exclude them automatically? without typing each sprint by hand each time a new one is created.

Thank you very much for your help :)


Answers:
author: JM Perrot
body: Hello [@Wakil BENAMOUR](/t5/user/viewprofilepage/user-id/4954738) ,

As [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579) mentioned, you have JQL functions to perform this operation.

You also have "closedSprints()":

    sprint in closedSprints()

This function includes tickets only in, as you guessed, closed sprints.

You can find more information in the documentation:

* [Common JQL queries for sprints in Jira Cloud](https://community.atlassian.com/t5/Jira-articles/Common-JQL-queries-for-sprints-in-Jira-Cloud/ba-p/1736456)
* [JQL functions](https://support.atlassian.com/jira-software-cloud/docs/jql-functions/)


author: Mikael Sandberg
body: You can exclude current (open) sprints and future sprints by using these two functions in your JQL:

sprint not in [openSprints()](https://support.atlassian.com/jira-service-management-cloud/docs/jql-functions/#openSprints--) AND sprint not in [futureSprints()](https://support.atlassian.com/jira-service-management-cloud/docs/jql-functions/#futureSprints--)


Tags: cloud

jira-cloud
Can I control the order of users in the active sprint view
Asked by Vince Tkac:

Is there any way to control the order the user show in the active sprint view when grouped by assignee? Looks to have my account first and then everyone else alphabetical. I want to setup an explicit ordering.


Answers:
author: Mikael Sandberg
body: Hi [@Vince Tkac](/t5/user/viewprofilepage/user-id/5526214),

Welcome to Atlassian Community!

The short answer is no, you cannot change the order. It will aways show the current user first and then the other assignees in alphabetical order.


Tags: cloud

jira-cloud
Change Due Date with Automation based on linked Issues
Asked by Luis Chaves:

Hello Team,

I need help with the following:

I would like to have an automation rule created that will change the Due Date of the linked issues based on the date of the parent issue.

Example: If Due Date on Issue A has a Due Date and I link it to Issue B, the Start Date of Issue B will need to change to the same Due Date as Issue A and the Due Date on Issue B will need to be updated to (new Start Date + duration between the old start date and old due date).

This is what we have now but the variable for the new due date is not updating at all:![Screenshot 2024-06-21 083758.png](/t5/image/serverpage/image-id/331134iCCA371AB38EADAEE/image-size/large?v=v2&px=999 "Screenshot 2024-06-21 083758.png")

Cheers


Answers:
author: Trudy Claspill
body: Hello [@Luis Chaves](/t5/user/viewprofilepage/user-id/5412832)

Welcome to the Atlassian community.

Each time an automation rule runs an entry is generated in the Audit Log for the rule. What are the details in the Audit Log for when the rule runs?

![Screenshot 2024-06-21 at 8.48.05?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/331150iE54975BE5DE7F98C/image-size/large?v=v2&px=999 "Screenshot 2024-06-21 at 8.48.05?AM.png")

![Screenshot 2024-06-21 at 8.48.32?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/331152iDA788BBBE7B2E401/image-size/large?v=v2&px=999 "Screenshot 2024-06-21 at 8.48.32?AM.png")

![Screenshot 2024-06-21 at 8.49.04?AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/331151i63F51ED0868C084B/image-size/large?v=v2&px=999 "Screenshot 2024-06-21 at 8.49.04?AM.png")

comments: author: Luis Chaves
body: Hello Trudy,

This is what the log is showing:  
![Screenshot 2024-07-15 144045.png](https://community.atlassian.com/t5/image/serverpage/image-id/335888i43E37F74CB129195/image-size/large?v=v2&px=999 "Screenshot 2024-07-15 144045.png")

We would like for the "New Due Date" variable to change based on this:  
![Screenshot 2024-07-16 075046.png](https://community.atlassian.com/t5/image/serverpage/image-id/335889iFB0CEFFDBBC6B31B/image-size/large?v=v2&px=999 "Screenshot 2024-07-16 075046.png")

Thank you for the help on this!

Cheers


author: Luis Chaves
body: Hello Trudy,

Have you been able to look on this?

Cheers


author: Trudy Claspill
body: Hello [@Luis Chaves](/t5/user/viewprofilepage/user-id/5412832)

The log you provided doesn't appear to match the screen images you provided for the rule. The screen image for the rule does not include log entries for "Trigger issue due date".

Please provide screen images that show the entire Automation Rule and the entire audit log entry for its execution.

Calculations can be very dependent on the context in which the calculation step is being done. We can't help debug the problem without complete information.


author: Nicolas Grossi
body: [@Luis Chaves](/t5/user/viewprofilepage/user-id/5412832) Welcome! You might take a look at this link: <https://community.atlassian.com/t5/Jira-questions/Automation-rule-for-due-date/qaq-p/1750420>

HTH

Nicolas


Tags: cloud

jira-cloud
Automated - Change Summary title after email submission
Asked by Harry:

Hi,

Looking to see if Automate can update a summary title after an email submission, as the email uses pipes "\|" to show the priority and assigning in the summary.

Strip Assigning and assign it to the assigning field

Strip Priority and assign it to the priority field.

Strip Reporter and assign it to the report field.

Sample:  

Test Summary \| FOO User \|Medium\| John Smith Reporter


Answers:
author: Mikael Sandberg
body: Hi [@Harry](/t5/user/viewprofilepage/user-id/5526203),

Welcome to Atlassian Community!

If the summary will always have the same format the you can use the [split String separator](https://support.atlassian.com/cloud-automation/docs/jira-smart-values-text-fields/#split-String-separator-) function to get each of the 4 subsections, something like this:

{{issue.summary.split("\|").first}} -\> Test Summary

{{issue.summary.split("\|").second}} -\> FOO User

comments: author: Harry
body: Thanks [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579)

Let me try that, can I use the above items to assign the new fields "FOO" to an assigning?


author: Mikael Sandberg
body: In order to set the assignee you would first have to find the Atlassian Id for that user, which you can do by doing a web request to the [Find user](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search/#api-rest-api-3-user-search-get) endpoint.


Tags: cloud

jira-service-management

jira-service-management-cloud
Teams integration. The teams window in the ticket does not show a send button when i use it.
Asked by jreynolds:

I can change the resolution of the browser to 80% and get to the button. Why am I having to do this?


Answers:
author: Nikola Perisic
body: Hello [@jreynolds](/t5/user/viewprofilepage/user-id/4887411)

Have you tried in the incognito mode as well? Which device are you using?


Tags: cloud

jira-service-management

jira-service-management-cloud
We can't reach our company's boards!
Asked by Ferhat SA?O?LU:

We have seen the contact us if the problem persists note, but it is very difficult to contact you. Please help me reach my cards urgently!


Answers:
author: Ste Wright
body: Hi [@Ferhat SA?O?LU](/t5/user/viewprofilepage/user-id/5285549)

It's best to contact Trello's support team directly, the option to do so is at the bottom of this help page: <https://trello.com/contact#/>

This is the public Community, and quite a lot of us are just users like you - but if you can give us more information about what you're seeing, we can try and help :)

Ste